/* Gallery OS Help Center — museum-calm docs experience */

:root {
  color-scheme: light;
  --gos-bg: #EFEEE8;
  --gos-surface: #FAFAF7;
  --gos-surface-muted: #E6E5DF;
  --gos-surface-elevated: #F3F2ED;
  --gos-border: rgba(28, 28, 26, 0.1);
  --gos-accent: #0073ff;
  --gos-accent-soft: rgba(0, 115, 255, 0.1);
  --gos-text-primary: #1C1C1A;
  --gos-text-secondary: rgba(28, 28, 26, 0.62);
  --gos-text-soft: rgba(28, 28, 26, 0.45);
  --gos-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gos-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --gos-duration-fast: 180ms;
  --gos-duration-medium: 420ms;
  --gos-duration-slow: 700ms;
  --gos-stagger-step: 55ms;
  --gos-dashboard-surface: #FFFFFF;
  --gos-dashboard-border: rgba(28, 28, 26, 0.1);
  --gos-shadow-card: 0 1px 2px rgba(28, 28, 26, 0.04), 0 10px 28px -16px rgba(28, 28, 26, 0.12);
  --gos-shadow-elevated: 0 4px 12px rgba(28, 28, 26, 0.05), 0 24px 48px -24px rgba(28, 28, 26, 0.18);
  --gos-hover-fill: rgba(28, 28, 26, 0.04);
  --gos-hover-fill-strong: rgba(28, 28, 26, 0.07);
  --gos-info: #38bdf8;
  --gos-space-2: 8px;
  --gos-space-3: 12px;
  --gos-space-4: 16px;
  --gos-space-5: 20px;
  --gos-space-6: 24px;
  --gos-space-8: 32px;
  --gos-text-xs: 11px;
  --gos-text-sm: 13.5px;
  --gos-text-base: 15.5px;
  --gos-text-lg: 17px;
  --gos-font-display: 'Syne', 'Figtree', system-ui, sans-serif;
  --gos-font-serif: 'Instrument Serif', Georgia, serif;
  --gos-font-sans: 'Figtree', system-ui, sans-serif;
  --help-max: 1080px;
  --help-rail: 17.5rem;
}

.dark {
  color-scheme: dark;
  --gos-bg: #0a0a09;
  --gos-surface: #111110;
  --gos-surface-muted: rgba(255, 255, 255, 0.05);
  --gos-surface-elevated: rgba(255, 255, 255, 0.035);
  --gos-border: rgba(255, 255, 255, 0.08);
  --gos-accent-soft: rgba(0, 115, 255, 0.18);
  --gos-text-primary: #ffffff;
  --gos-text-secondary: rgba(255, 255, 255, 0.62);
  --gos-text-soft: rgba(255, 255, 255, 0.42);
  --gos-dashboard-surface: rgba(255, 255, 255, 0.03);
  --gos-dashboard-border: rgba(255, 255, 255, 0.08);
  --gos-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.25), 0 12px 32px -16px rgba(0, 0, 0, 0.45);
  --gos-shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.3), 0 28px 56px -24px rgba(0, 0, 0, 0.55);
  --gos-hover-fill: rgba(255, 255, 255, 0.05);
  --gos-hover-fill-strong: rgba(255, 255, 255, 0.09);
}

*, *::before, *::after { box-sizing: border-box; }
* { letter-spacing: -0.012em; }
html, body {
  height: 100%;
  font-family: var(--gos-font-sans);
}
.help-body { position: relative; }
.font-display { font-family: var(--gos-font-display); }
.font-serif { font-family: var(--gos-font-serif); }
strong { font-weight: 650; }
mark { background: #fef08a; border-radius: 2px; padding: 0 2px; color: inherit; }
.dark mark { background: rgba(161, 120, 1, 0.4); }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(28, 28, 26, 0.14);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.dark ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); background-clip: padding-box; border: 2px solid transparent; }

/* Atmosphere */
.help-grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dark .help-grain { opacity: 0.06; mix-blend-mode: soft-light; }

.help-read-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: rgba(28, 28, 26, 0.06);
  opacity: 0;
  transition: opacity var(--gos-duration-fast);
}
.dark .help-read-bar { background: rgba(255, 255, 255, 0.08); }
.help-read-bar.is-on { opacity: 1; }
.help-read-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gos-accent);
  transition: width 80ms linear;
}

.help-skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: #fff;
  color: #000;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
}
.help-skip:focus { top: 1rem; }

.help-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.help-atmosphere__glow {
  position: absolute;
  width: min(78vw, 820px);
  height: min(78vw, 820px);
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 115, 255, 0.09) 0%, transparent 68%);
  animation: helpGlowDrift 14s ease-in-out infinite alternate;
}
.dark .help-atmosphere__glow {
  background: radial-gradient(circle, rgba(0, 115, 255, 0.16) 0%, transparent 70%);
}
.help-atmosphere__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(28, 28, 26, 0.03), transparent 55%),
    radial-gradient(ellipse 50% 35% at 90% 20%, rgba(0, 115, 255, 0.04), transparent 50%);
}
.dark .help-atmosphere__wash {
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(255, 255, 255, 0.03), transparent 55%),
    radial-gradient(ellipse 50% 35% at 90% 20%, rgba(0, 115, 255, 0.08), transparent 50%);
}
.help-atmosphere__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(28, 28, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 28, 26, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
}
.dark .help-atmosphere__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}
@keyframes helpGlowDrift {
  from { transform: translateX(-52%) translateY(0); }
  to { transform: translateX(-48%) translateY(18px); }
}

/* Shared */
.gos-label {
  font-size: var(--gos-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gos-text-soft);
}
.gos-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gos-space-2);
  padding: 0.55rem 1.1rem;
  font-size: var(--gos-text-sm);
  font-weight: 600;
  color: #fff;
  background: var(--gos-accent);
  border: none;
  border-radius: 999px;
  box-shadow: 0 10px 28px -14px rgba(0, 115, 255, 0.55);
  transition: background-color var(--gos-duration-fast), transform var(--gos-duration-fast);
  cursor: pointer;
  font-family: inherit;
}
.gos-btn-primary:hover { background: #0066e6; transform: translateY(-1px); }
.gos-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gos-space-2);
  padding: 0.5rem 1rem;
  font-size: var(--gos-text-sm);
  font-weight: 550;
  color: var(--gos-text-secondary);
  background: transparent;
  border: 1px solid var(--gos-dashboard-border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--gos-duration-fast), color var(--gos-duration-fast), background-color var(--gos-duration-fast);
  font-family: inherit;
}
.gos-btn-ghost:hover {
  color: var(--gos-text-primary);
  background: var(--gos-hover-fill);
}
.dark .gos-btn-ghost { color: rgba(255, 255, 255, 0.75); }
.gos-focus-ring:focus-visible {
  outline: 2px solid var(--gos-accent);
  outline-offset: 2px;
}
.gos-glass-nav {
  background: color-mix(in srgb, var(--gos-bg) 86%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}
.dark .gos-glass-nav { background: rgba(10, 10, 9, 0.72); }

.gos-stagger-item {
  opacity: 0;
  transform: translateY(14px);
  animation: helpStaggerIn var(--gos-duration-medium) var(--gos-ease-spring) forwards;
}
@keyframes helpStaggerIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes helpFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes helpScaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.help-route-fade {
  animation: helpFadeUp var(--gos-duration-medium) var(--gos-ease-spring) both;
}

@media (prefers-reduced-motion: reduce) {
  .gos-stagger-item,
  .help-route-fade,
  .help-atmosphere__glow { animation: none !important; opacity: 1; transform: none; }
}

/* Shell */
.help-canvas {
  position: relative;
  background: color-mix(in srgb, var(--gos-dashboard-surface) 70%, var(--gos-bg));
}
.dark .help-canvas { background: #10100f; }
.help-page-inner {
  position: relative;
  z-index: 1;
  max-width: var(--help-max);
  margin: 0 auto;
  padding: 1.5rem 1.15rem 4rem;
}
@media (min-width: 768px) {
  .help-page-inner { padding: 2rem 2rem 5rem; }
}
.help-page-inner.is-hub {
  max-width: 1180px;
  padding-top: 1.25rem;
}
@media (min-width: 768px) {
  .help-page-inner.is-hub { padding-top: 1.75rem; }
}

.help-back-app {
  opacity: 0.55;
  transition: opacity var(--gos-duration-fast), background var(--gos-duration-fast);
}
.help-back-app:hover {
  opacity: 1;
  background: var(--gos-hover-fill);
}

.help-side-search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-radius: 11px;
  border: 1px solid var(--gos-dashboard-border);
  background: var(--gos-hover-fill);
  color: var(--gos-text-secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  transition: border-color var(--gos-duration-fast), background var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
}
.help-side-search:hover {
  border-color: color-mix(in srgb, var(--gos-accent) 35%, var(--gos-dashboard-border));
  background: var(--gos-dashboard-surface);
  box-shadow: var(--gos-shadow-card);
}
.help-side-search__label { flex: 1; text-align: left; opacity: 0.75; }
.help-side-foot__hint {
  margin: 0;
  font-size: 11px;
  color: var(--gos-text-soft);
  line-height: 1.45;
}

/* Sidebar nav */
.help-nav-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.15rem;
  padding: 0.5rem 0.7rem 0.5rem 0.85rem;
  font-size: 12.5px;
  font-weight: 520;
  color: var(--gos-text-secondary);
  border-radius: 10px;
  text-align: left;
  transition: background-color var(--gos-duration-fast), color var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
}
.help-nav-btn:hover {
  background: var(--gos-hover-fill);
  color: var(--gos-text-primary);
}
.help-nav-btn.active,
.help-nav-btn.nav-item--active,
.help-nav-btn[aria-current="page"] {
  background: color-mix(in srgb, var(--gos-accent) 12%, var(--gos-dashboard-surface));
  color: var(--gos-accent);
  font-weight: 650;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gos-accent) 18%, transparent);
}
.help-nav-btn.active::before,
.help-nav-btn.nav-item--active::before,
.help-nav-btn[aria-current="page"]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.15rem;
  border-radius: 0 3px 3px 0;
  background: var(--gos-accent);
}
.dark .help-nav-btn.active,
.dark .help-nav-btn.nav-item--active,
.dark .help-nav-btn[aria-current="page"] {
  color: color-mix(in srgb, var(--gos-accent) 72%, #fff);
}
.help-nav-group { margin-bottom: 0.55rem; }
.help-nav-group__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--gos-text-soft);
  transition: background var(--gos-duration-fast);
}
.help-nav-group__toggle:hover {
  background: var(--gos-hover-fill);
}
.help-nav-group__lead {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.help-nav-group__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--nav-accent, var(--gos-accent)) 14%, transparent);
  color: var(--nav-accent, var(--gos-accent));
}
.help-nav-group__label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
}
.help-nav-group__chev {
  transition: transform var(--gos-duration-fast);
  opacity: 0.55;
  flex-shrink: 0;
}
.help-nav-group.is-collapsed .help-nav-group__chev { transform: rotate(-90deg); }
.help-nav-group.is-collapsed .help-nav-group__items { display: none; }
.help-nav-group__items {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.2rem 0 0.15rem 0.15rem;
}
.help-nav-empty {
  padding: 0.75rem;
  font-size: 12px;
  color: var(--gos-text-secondary);
}
body.help-nav-open { overflow: hidden; }

/* ─── Hub ─── */
.help-hub-hero {
  position: relative;
  text-align: center;
  padding: 2.25rem 0 2.5rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .help-hub-hero { padding: 3.25rem 0 3.5rem; }
}
.help-hub-hero__mark {
  font-family: var(--gos-font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0 0 1rem;
  color: var(--gos-text-primary);
}
.help-hub-hero__mark > .help-hub-hero__brand > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  animation: helpLetterIn 0.7s var(--gos-ease-spring) forwards;
}
.help-hub-hero__brand {
  display: block;
}
.help-hub-hero__help {
  display: block;
}
@keyframes helpLetterIn {
  to { opacity: 1; transform: translateY(0); }
}
.help-hub-hero__line {
  font-family: var(--gos-font-serif);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gos-text-secondary);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.help-hub-search {
  position: relative;
  max-width: 34rem;
  margin: 0 auto;
}
.help-hub-search__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-dashboard-surface) 88%, transparent);
  box-shadow: var(--gos-shadow-elevated);
  cursor: pointer;
  font-family: inherit;
  color: var(--gos-text-soft);
  font-size: 0.98rem;
  text-align: left;
  transition: transform var(--gos-duration-fast), border-color var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
  backdrop-filter: blur(10px);
}
.help-hub-search__btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gos-accent) 40%, var(--gos-dashboard-border));
  box-shadow: 0 8px 32px -12px rgba(0, 115, 255, 0.28), var(--gos-shadow-elevated);
  color: var(--gos-text-secondary);
}
.help-hub-search__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gos-accent-soft);
  color: var(--gos-accent);
  flex-shrink: 0;
}
.help-hub-search__text { flex: 1; }
.help-hub-search__kbd {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 640px) {
  .help-hub-search__kbd { display: inline-flex; }
}
.help-hub-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.help-hub-meta span {
  font-size: 11px;
  font-weight: 600;
  color: var(--gos-text-soft);
  padding: 0.3rem 0.7rem;
  letter-spacing: 0.02em;
}

/* Continue */
.help-continue {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.15rem;
  margin-bottom: 2.25rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--gos-accent) 22%, var(--gos-dashboard-border));
  background:
    linear-gradient(120deg, var(--gos-accent-soft), transparent 55%),
    color-mix(in srgb, var(--gos-dashboard-surface) 90%, transparent);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: transform var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
}
.help-continue:hover {
  transform: translateY(-2px);
  box-shadow: var(--gos-shadow-card);
}
.help-continue__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gos-accent);
  color: #fff;
  flex-shrink: 0;
}
.help-continue__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gos-accent);
  margin-bottom: 0.2rem;
}
.help-continue__title {
  font-family: var(--gos-font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--gos-text-primary);
  overflow: visible;
}
.help-continue__sub {
  font-size: 12.5px;
  color: var(--gos-text-secondary);
  margin-top: 0.15rem;
}
.help-continue__arrow {
  margin-left: auto;
  opacity: 0.45;
  transition: transform var(--gos-duration-fast), opacity var(--gos-duration-fast);
}
.help-continue:hover .help-continue__arrow {
  opacity: 1;
  transform: translateX(3px);
  color: var(--gos-accent);
}

/* Sections */
.help-hub-section {
  margin-bottom: 3.75rem;
}
.help-hub-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-top: 0.35rem;
}
.help-hub-section__title {
  font-family: var(--gos-font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--gos-text-primary);
  margin: 0 0 0.4rem;
  padding: 0.05em 0;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.help-hub-section__lead {
  font-size: var(--gos-text-sm);
  color: var(--gos-text-secondary);
  margin: 0;
  max-width: 32rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

/* Journey path — visual, not dense cards */
.help-path {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .help-path { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .help-path { grid-template-columns: repeat(3, 1fr); }
}

.help-path-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
  padding: 1.35rem 1.35rem 1.2rem;
  border: none;
  border-radius: 20px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  background: color-mix(in srgb, var(--gos-dashboard-surface) 92%, transparent);
  box-shadow: inset 0 0 0 1px var(--gos-dashboard-border);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 200ms var(--gos-ease-out), box-shadow var(--gos-duration-fast);
  isolation: isolate;
}
.help-path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(0, 115, 255, 0.12), transparent 55%),
    linear-gradient(165deg, color-mix(in srgb, var(--gos-accent) 6%, transparent), transparent 50%);
  opacity: 0;
  transition: opacity var(--gos-duration-fast);
  z-index: 0;
  pointer-events: none;
}
.help-path-card:hover {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gos-accent) 28%, var(--gos-dashboard-border)), var(--gos-shadow-elevated);
}
.help-path-card:hover::before { opacity: 1; }
.help-path-card > * { position: relative; z-index: 1; }

.help-path-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.help-path-card__num {
  font-family: var(--gos-font-serif);
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--gos-text-soft);
  opacity: 0.7;
}
.help-path-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--gos-accent-soft);
  color: var(--gos-accent);
  transition: transform var(--gos-duration-medium) var(--gos-ease-spring);
}
.help-path-card:hover .help-path-card__icon {
  transform: scale(1.08) rotate(-4deg);
}
.help-path-card__title {
  font-family: var(--gos-font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--gos-text-primary);
  margin: 0 0 0.5rem;
  overflow: visible;
}
.help-path-card__desc {
  font-size: 13.5px;
  color: var(--gos-text-secondary);
  line-height: 1.5;
  flex: 1;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.help-path-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gos-accent);
}
.help-path-card__cta .iconify {
  transition: transform var(--gos-duration-fast);
}
.help-path-card:hover .help-path-card__cta .iconify {
  transform: translateX(3px);
}

/* Topic explorer — one section at a time */
.help-explorer {
  border-radius: 22px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-dashboard-surface) 88%, transparent);
  overflow: hidden;
  box-shadow: var(--gos-shadow-card);
}
.help-explorer__tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.85rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--gos-dashboard-border);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.help-explorer__tabs--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.help-explorer__tabs::-webkit-scrollbar { display: none; }
.help-explorer__tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gos-text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--gos-duration-fast), color var(--gos-duration-fast), border-color var(--gos-duration-fast);
}
.help-explorer__tab:hover {
  background: var(--gos-hover-fill);
  color: var(--gos-text-primary);
}
.help-explorer__tab.is-active {
  background: var(--gos-accent-soft);
  color: var(--gos-accent);
  border-color: color-mix(in srgb, var(--gos-accent) 25%, transparent);
}
.help-explorer__panel {
  padding: 1.35rem 1.35rem 1.5rem;
  animation: helpScaleIn var(--gos-duration-medium) var(--gos-ease-spring) both;
}
.help-explorer__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.help-explorer__intro h3 {
  font-family: var(--gos-font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
  color: var(--gos-text-primary);
}
.help-explorer__intro p {
  margin: 0;
  font-size: 13.5px;
  color: var(--gos-text-secondary);
  max-width: 28rem;
  line-height: 1.5;
}
.help-explorer__count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gos-text-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
}
.help-explorer__list {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .help-explorer__list { grid-template-columns: repeat(2, 1fr); }
}
.help-explorer__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: none;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: background var(--gos-duration-fast);
}
.help-explorer__link:hover {
  background: var(--gos-hover-fill);
}
.help-explorer__link-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gos-accent);
  opacity: 0.45;
  flex-shrink: 0;
  transition: opacity var(--gos-duration-fast), transform var(--gos-duration-fast);
}
.help-explorer__link:hover .help-explorer__link-dot {
  opacity: 1;
  transform: scale(1.25);
}
.help-explorer__link-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--gos-text-primary);
  letter-spacing: -0.015em;
}
.help-explorer__link-sum {
  display: none;
  font-size: 12.5px;
  color: var(--gos-text-soft);
  max-width: 14rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 900px) {
  .help-explorer__link-sum { display: block; }
}
.help-explorer__link-arrow {
  opacity: 0;
  color: var(--gos-accent);
  transform: translateX(-4px);
  transition: opacity var(--gos-duration-fast), transform var(--gos-duration-fast);
}
.help-explorer__link:hover .help-explorer__link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Hub footer cue */
.help-hub-cue {
  text-align: center;
  padding: 1rem 0 0.5rem;
  font-size: 13px;
  color: var(--gos-text-soft);
}
.help-hub-cue kbd { margin: 0 0.15rem; }

/* UI chips */
.help-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 var(--gos-space-5);
}
.help-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-surface-elevated) 80%, transparent);
  font-size: 11px;
  font-weight: 600;
  color: var(--gos-text-secondary);
}
.help-chip kbd,
.help-chip .help-kbd { margin-left: 0.15rem; }

/* Article layout */
.help-article-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 0 2rem;
  width: 100%;
}
.help-article-sticky {
  grid-column: 1 / -1;
}
.help-article-main {
  grid-column: 1;
  min-width: 0;
  width: 100%;
  max-width: none;
}
.help-article-layout > .help-toc {
  grid-column: 1;
}
@media (min-width: 1024px) {
  .help-article-layout {
    grid-template-columns: minmax(0, 1fr) min(220px, 26vw);
    grid-template-rows: auto 1fr;
    column-gap: 2.25rem;
    align-items: start;
  }
  .help-article-sticky {
    grid-row: 1;
    grid-column: 1 / -1;
  }
  .help-article-main {
    grid-row: 2;
    grid-column: 1;
  }
  .help-article-layout > .help-toc {
    grid-row: 2;
    grid-column: 2;
    position: sticky;
    top: 1rem;
    align-self: start;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    padding-bottom: 1rem;
  }
}
.help-article-hero {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gos-dashboard-border);
}
.help-article-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--gos-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gos-text-soft);
  margin-bottom: 0.65rem;
}
.help-article-hero__title {
  font-family: var(--gos-font-serif);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--gos-text-primary);
  line-height: 1.12;
  margin: 0 0 0.75rem;
}
.help-article-hero__summary {
  font-size: var(--gos-text-lg);
  color: var(--gos-text-secondary);
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 0 1rem;
}
.help-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  font-size: 12px;
  color: var(--gos-text-soft);
  font-weight: 550;
}
.help-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.help-toc { display: none; }
@media (min-width: 1024px) {
  .help-toc {
    display: block;
  }
}
.help-toc-mobile {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: var(--gos-space-3);
  margin-bottom: var(--gos-space-4);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.help-toc-mobile::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .help-toc-mobile { display: none; } }
.help-toc__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gos-text-soft);
  margin-bottom: var(--gos-space-3);
}
.help-toc__progress {
  height: 3px;
  border-radius: 999px;
  background: var(--gos-border);
  margin-bottom: var(--gos-space-4);
  overflow: hidden;
}
.help-toc__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gos-accent);
  border-radius: inherit;
  transition: width 0.1s linear;
}
.help-toc__link {
  display: block;
  padding: 0.35rem 0;
  font-size: 12.5px;
  color: var(--gos-text-secondary);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  margin-left: -2px;
  transition: color var(--gos-duration-fast), border-color var(--gos-duration-fast);
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.35;
}
.help-toc__link:hover,
.help-toc__link.is-active {
  color: var(--gos-text-primary);
  border-left-color: var(--gos-accent);
}
.help-toc-chip {
  flex-shrink: 0;
  padding: 0.4rem 0.8rem;
  font-size: var(--gos-text-xs);
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-surface-elevated) 80%, transparent);
  color: var(--gos-text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--gos-duration-fast);
  font-family: inherit;
}
.help-toc-chip:hover,
.help-toc-chip.is-active {
  background: var(--gos-accent-soft);
  color: var(--gos-accent);
  border-color: color-mix(in srgb, var(--gos-accent) 30%, var(--gos-dashboard-border));
}

/* Content blocks */
.help-block-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2.25rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gos-border);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--gos-text-soft);
  scroll-margin-top: 5rem;
}
.help-block-heading__anchor {
  opacity: 0;
  color: var(--gos-text-soft);
  transition: opacity var(--gos-duration-fast);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}
.help-block-heading:hover .help-block-heading__anchor { opacity: 1; }
.help-block-body {
  margin-bottom: 1.1rem;
  font-size: var(--gos-text-base);
  line-height: 1.7;
  color: var(--gos-text-secondary);
}

/* Interactive steps — base (overridden by workbook pass below) */
.help-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.help-step {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.help-step__title {
  font-size: var(--gos-text-base);
  font-weight: 600;
  color: var(--gos-text-primary);
  line-height: 1.35;
}
.help-step__desc {
  margin-top: 0.3rem;
  font-size: var(--gos-text-sm);
  color: var(--gos-text-secondary);
  line-height: 1.55;
}

.help-bullets {
  margin-bottom: 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--gos-dashboard-border);
  overflow: hidden;
  background: color-mix(in srgb, var(--gos-dashboard-surface) 90%, transparent);
}
.help-bullet {
  display: flex;
  gap: var(--gos-space-3);
  padding: 0.85rem 1.05rem;
  font-size: var(--gos-text-sm);
  line-height: 1.6;
  color: var(--gos-text-secondary);
  border-top: 1px solid var(--gos-border);
}
.help-bullet:first-child { border-top: none; }
.help-bullet__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--gos-accent);
}

.help-table-wrap {
  margin-bottom: 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--gos-dashboard-border);
  overflow: hidden;
  box-shadow: var(--gos-shadow-card);
  overflow-x: auto;
}
.help-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--gos-text-sm);
}
.help-table thead {
  position: sticky;
  top: 0;
  background: var(--gos-text-primary);
  z-index: 1;
}
.dark .help-table thead { background: #0a0a0a; }
.help-table th {
  padding: 0.7rem 1rem;
  text-align: left;
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}
.help-table-row:nth-child(even) { background: var(--gos-hover-fill); }
.help-table td {
  padding: 0.7rem 1rem;
  vertical-align: top;
  border-top: 1px solid var(--gos-border);
  color: var(--gos-text-secondary);
}
.help-table td:first-child {
  font-weight: 600;
  color: var(--gos-text-primary);
  width: 38%;
}

/* Callouts */
.help-callout {
  display: flex;
  gap: var(--gos-space-3);
  padding: 1rem 1.05rem;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--gos-dashboard-border);
  border-left-width: 3px;
  background: color-mix(in srgb, var(--gos-surface-elevated) 85%, transparent);
}
.help-callout--tip { border-left-color: var(--gos-info); }
.help-callout--warn { border-left-color: #f59e0b; }
.help-callout--ok { border-left-color: #10b981; }
.help-callout__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  opacity: 0.85;
}
.help-callout--tip .help-callout__icon { color: #0284c7; }
.help-callout--warn .help-callout__icon { color: #b45309; }
.help-callout--ok .help-callout__icon { color: #059669; }
.help-callout__label {
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.help-callout--tip .help-callout__label { color: #0284c7; }
.dark .help-callout--tip .help-callout__label { color: #7dd3fc; }
.help-callout--warn .help-callout__label { color: #b45309; }
.dark .help-callout--warn .help-callout__label { color: #fbbf24; }
.help-callout--ok .help-callout__label { color: #059669; }
.dark .help-callout--ok .help-callout__label { color: #34d399; }
.help-callout__text {
  font-size: var(--gos-text-sm);
  line-height: 1.6;
  color: var(--gos-text-secondary);
}

.help-v6-callout {
  margin-bottom: var(--gos-space-4);
  padding: var(--gos-space-4);
  border-radius: 12px;
  border: 1px solid var(--gos-dashboard-border);
  border-left-width: 3px;
  background: var(--gos-surface-elevated);
}
.help-v6-callout--tip { border-left-color: var(--gos-info); }
.help-v6-callout--warn { border-left-color: #f59e0b; }
.help-v6-callout--ok { border-left-color: #10b981; }

.help-kbd {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  border-radius: 5px;
  border: 1px solid var(--gos-dashboard-border);
  background: var(--gos-hover-fill);
  letter-spacing: 0;
}

.help-qref {
  margin-bottom: 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--gos-dashboard-border);
  overflow: hidden;
  background: color-mix(in srgb, var(--gos-dashboard-surface) 90%, transparent);
  box-shadow: var(--gos-shadow-card);
}
.help-qref__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--gos-space-3);
  padding: 0.8rem 1.05rem;
  border-top: 1px solid var(--gos-border);
  font-size: var(--gos-text-sm);
}
.help-qref__row:first-child { border-top: none; }
.help-qref__key {
  font-weight: 600;
  color: var(--gos-text-primary);
}
.help-qref__val {
  color: var(--gos-text-secondary);
  line-height: 1.5;
}
@media (max-width: 560px) {
  .help-qref__row { grid-template-columns: 1fr; gap: 0.25rem; }
}

.help-related {
  margin-top: 2rem;
  padding: 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-surface-elevated) 80%, transparent);
}
.help-related__title {
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gos-text-soft);
  margin: 0 0 0.85rem;
}
.help-related__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.help-related__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-dashboard-surface) 90%, transparent);
  font-size: var(--gos-text-sm);
  font-weight: 550;
  color: var(--gos-text-primary);
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--gos-duration-fast), background var(--gos-duration-fast), color var(--gos-duration-fast);
}
.help-related__link:hover {
  border-color: color-mix(in srgb, var(--gos-accent) 30%, var(--gos-dashboard-border));
  background: var(--gos-accent-soft);
  color: var(--gos-accent);
}

.help-pager {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gos-dashboard-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .help-pager { grid-template-columns: 1fr 1fr; } }
.help-pager-btn {
  display: flex;
  align-items: center;
  gap: var(--gos-space-3);
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-surface-elevated) 75%, transparent);
  text-align: left;
  cursor: pointer;
  transition: box-shadow var(--gos-duration-fast), border-color var(--gos-duration-fast), transform var(--gos-duration-fast);
  font-family: inherit;
  color: inherit;
}
.help-pager-btn:hover {
  box-shadow: var(--gos-shadow-card);
  border-color: color-mix(in srgb, var(--gos-accent) 22%, var(--gos-dashboard-border));
  transform: translateY(-1px);
}
.help-pager-btn--next { justify-content: flex-end; text-align: right; }
.help-pager-btn--spacer { visibility: hidden; pointer-events: none; }
.help-pager-btn__label {
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gos-text-soft);
}
.help-pager-btn__title {
  font-size: var(--gos-text-sm);
  font-weight: 600;
  color: var(--gos-text-primary);
}

/* Command palette */
.help-palette {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 1rem 1rem;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--gos-duration-fast), visibility var(--gos-duration-fast);
}
.help-palette.is-open {
  opacity: 1;
  visibility: visible;
}
.help-palette__panel {
  width: 100%;
  max-width: 580px;
  max-height: min(72vh, 540px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--gos-dashboard-border);
  background: var(--gos-bg);
  box-shadow: var(--gos-shadow-elevated);
  overflow: hidden;
  transform: translateY(-10px) scale(0.97);
  transition: transform var(--gos-duration-medium) var(--gos-ease-spring);
}
.dark .help-palette__panel { background: #111110; }
.help-palette.is-open .help-palette__panel {
  transform: translateY(0) scale(1);
}
.help-palette__input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--gos-dashboard-border);
}
.help-palette__input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  color: var(--gos-text-primary);
  outline: none;
  font-family: inherit;
}
.help-palette__input::placeholder { color: var(--gos-text-soft); }
.help-palette__results {
  flex: 1;
  overflow-y: auto;
  padding: 0.55rem;
}
.help-palette__empty {
  padding: 1.5rem 0.85rem;
  font-size: var(--gos-text-sm);
  color: var(--gos-text-soft);
  text-align: center;
}
.help-palette__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--gos-text-primary);
  font-family: inherit;
}
.help-palette__item:hover,
.help-palette__item.is-selected {
  background: var(--gos-hover-fill);
}
.help-palette__item.is-selected {
  background: var(--gos-accent-soft);
}
.help-palette__item-title { font-size: var(--gos-text-sm); font-weight: 600; }
.help-palette__item-sub {
  font-size: var(--gos-text-xs);
  color: var(--gos-text-soft);
}
.help-palette__item-snippet {
  font-size: var(--gos-text-xs);
  color: var(--gos-text-secondary);
  margin-top: 0.15rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.help-palette__footer {
  padding: 0.55rem 1rem;
  border-top: 1px solid var(--gos-dashboard-border);
  font-size: 10px;
  color: var(--gos-text-soft);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#page-sub { display: none; }
#page-sub.show { display: block; }

/* Toast for step / copy feedback */
.help-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 150;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--gos-text-primary);
  color: var(--gos-bg);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--gos-shadow-elevated);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--gos-duration-fast), transform var(--gos-duration-fast);
}
.help-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.dark .help-toast {
  background: #fff;
  color: #0a0a09;
}

/* ═══════════════════════════════════════════
   Wow Pass — immersive hub, vignettes, calm article
   ═══════════════════════════════════════════ */

/* Hub mode: immersive — no sidebar rail on desktop */
@media (min-width: 1024px) {
  body.help-mode-hub .help-sidebar {
    display: none !important;
  }
  body.help-mode-hub .help-topbar {
    height: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border: none !important;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.help-mode-hub .help-topbar__titles,
  body.help-mode-hub .help-topbar__hub,
  body.help-mode-hub .help-topbar__search {
    display: none;
  }
  body.help-mode-hub .help-page-inner.is-hub {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }
  body.help-mode-hub .help-canvas {
    border-radius: 0;
  }
  body.help-mode-hub #main {
    width: 100%;
  }
}

/* Hub floating toolbar — desktop immersive only */
.help-hub-chrome {
  display: none;
  position: fixed;
  top: max(0.85rem, env(safe-area-inset-top, 0.85rem));
  right: max(0.85rem, env(safe-area-inset-right, 0.85rem));
  z-index: 70;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 16, 0.55);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.55);
}
@media (min-width: 1024px) {
  body.help-mode-hub .help-hub-chrome {
    display: inline-flex;
  }
}
.help-hub-chrome__app {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: background var(--gos-duration-fast), color var(--gos-duration-fast);
}
.help-hub-chrome__app:hover {
  background: rgba(0, 115, 255, 0.28);
  color: #fff;
}
.help-hub-chrome__app img {
  border-radius: 4px;
}
.help-hub-chrome__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background var(--gos-duration-fast), color var(--gos-duration-fast);
}
.help-hub-chrome__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Hide app dock on hub — chrome owns App exit on desktop */
body.help-mode-hub .help-app-dock {
  display: none !important;
}

/* First viewport composition */
.help-hub-hero {
  min-height: min(72vh, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0 2.5rem;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .help-hub-hero {
    min-height: min(78vh, 720px);
    padding: 4rem 0 3rem;
  }
}
.help-hub-hero__kicker {
  margin-bottom: 0.85rem;
  opacity: 0;
  animation: helpFadeUp 0.6s var(--gos-ease-spring) 0.05s both;
}
.help-hub-search {
  opacity: 0;
  animation: helpSearchLift 0.7s var(--gos-ease-spring) 0.35s both;
}
@keyframes helpSearchLift {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.help-hub-meta {
  opacity: 0;
  animation: helpFadeUp 0.55s var(--gos-ease-spring) 0.55s both;
}
.help-hub-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 2.25rem 0 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gos-text-soft);
  opacity: 0;
  animation: helpFadeUp 0.55s var(--gos-ease-spring) 0.75s both;
}
.help-hub-scroll span {
  display: block;
  width: 1px;
  height: 1.6rem;
  background: linear-gradient(to bottom, var(--gos-accent), transparent);
  animation: helpScrollCue 1.8s ease-in-out infinite;
}
@keyframes helpScrollCue {
  0%, 100% { transform: scaleY(0.55); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Path cards with vignettes */
.help-path-card {
  display: flex;
  flex-direction: column;
  min-height: 16.25rem;
  padding: 0;
  overflow: hidden;
}
.help-path-card--extra { display: none; }
.help-path.is-expanded .help-path-card--extra,
.help-path-wrap.is-expanded .help-path-card--extra { display: flex; }
.help-path-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.95rem 1.25rem 1.2rem;
  position: relative;
  z-index: 1;
}
.help-path-wrap { margin-top: 0.25rem; }
.help-paths-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1rem auto 0;
  padding: 0.55rem 1rem;
  border: none;
  background: transparent;
  color: var(--gos-text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  transition: color var(--gos-duration-fast), background var(--gos-duration-fast);
}
.help-paths-toggle:hover {
  color: var(--gos-accent);
  background: var(--gos-accent-soft);
}
.help-path-wrap.is-expanded .help-paths-toggle .iconify {
  transform: rotate(180deg);
}
.help-paths-toggle .iconify {
  transition: transform var(--gos-duration-fast);
}
.help-vignette {
  position: relative;
  height: 5.5rem;
  margin: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--gos-text-primary);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--gos-accent) 7%, var(--gos-surface-elevated)), transparent 72%);
  border-bottom: 1px solid var(--gos-border);
}
.help-vignette svg {
  width: 88%;
  height: 78%;
  transition: transform var(--gos-duration-medium) var(--gos-ease-spring);
}
.help-path-card:hover .help-vignette svg {
  transform: translateY(-3px) scale(1.03);
}
.help-vignette__a,
.help-vignette__b,
.help-vignette__c { display: none; }

/* Featured path emphasis when collapsed */
.help-path:not(.is-expanded) {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .help-path:not(.is-expanded) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.help-path.is-expanded {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .help-path.is-expanded { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .help-path.is-expanded { grid-template-columns: repeat(3, 1fr); }
}

/* Continue — quieter strip below the fold */
.help-continue {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
  border-radius: 18px;
}

/* Scroll reveal for path cards */
.help-path-card.help-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--gos-ease-spring),
    transform 0.55s var(--gos-ease-spring),
    box-shadow var(--gos-duration-fast),
    border-color var(--gos-duration-fast);
  transition-delay: var(--reveal-delay, 0ms);
}
.help-path-card.help-reveal.is-revealed,
.help-path-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.help-path-card.help-reveal.is-revealed {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

/* Quieter explorer */
.help-explorer {
  border-radius: 24px;
  padding-bottom: 0.25rem;
}
.help-explorer__panel {
  padding: 1.75rem 1.5rem 1.75rem;
}
.help-explorer__intro {
  margin-bottom: 1.35rem;
}
.help-explorer__intro h3 {
  font-size: 1.7rem;
}
.help-explorer__list {
  gap: 0.35rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .help-explorer__list { grid-template-columns: 1fr; }
}
.help-explorer__link {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  align-items: flex-start;
}
.help-explorer__link-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.help-explorer__link-sum {
  display: -webkit-box !important;
  font-size: 12.5px;
  color: var(--gos-text-soft);
  line-height: 1.4;
  max-width: none;
  white-space: normal;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.help-explorer__more {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.7rem;
  border: none;
  border-radius: 12px;
  background: var(--gos-hover-fill);
  color: var(--gos-text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--gos-duration-fast), color var(--gos-duration-fast);
}
.help-explorer__more:hover {
  background: var(--gos-accent-soft);
  color: var(--gos-accent);
}

/* Hub sections — more air */
.help-hub-section--paths {
  margin-top: 0.5rem;
  margin-bottom: 3.5rem;
}
.help-hub-section {
  margin-bottom: 3.25rem;
}

/* Article calm */
.help-article-hero {
  margin-bottom: 2.25rem;
  padding-bottom: 1.85rem;
}
.help-article-hero__title {
  font-size: clamp(2.15rem, 4.5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}
.help-article-hero__summary {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.help-block-heading {
  margin: 2.75rem 0 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-bottom-color: transparent;
  padding-bottom: 0;
  position: relative;
}
.help-block-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 1.5rem;
  height: 2px;
  background: color-mix(in srgb, var(--gos-accent) 55%, transparent);
  border-radius: 2px;
}
.help-block-body {
  margin-bottom: 1.35rem;
  line-height: 1.75;
}

/* Soft workbook steps — superseded by Aurora workbook */
.help-steps::before { display: none; }

/* Dense progressive disclosure */
.help-dense {
  margin-bottom: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--gos-dashboard-border);
  overflow: hidden;
  background: color-mix(in srgb, var(--gos-dashboard-surface) 88%, transparent);
}
.help-dense__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--gos-text-primary);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.help-dense__toggle-meta {
  margin-left: auto;
  font-size: 11px;
  font-weight: 650;
  color: var(--gos-text-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.help-dense__chev {
  opacity: 0.5;
  transition: transform var(--gos-duration-fast);
}
.help-dense.is-open .help-dense__chev { transform: rotate(180deg); }
.help-dense__body {
  display: none;
  padding: 0 0.65rem 0.65rem;
  border-top: 1px solid var(--gos-border);
}
.help-dense.is-open .help-dense__body { display: block; padding-top: 0.65rem; }
.help-dense .help-bullets,
.help-dense .help-qref,
.help-dense .help-table-wrap {
  margin-bottom: 0;
  border: none;
  box-shadow: none;
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .help-hub-hero__kicker,
  .help-hub-search,
  .help-hub-meta,
  .help-hub-scroll,
  .help-path-card.help-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .help-hub-scroll span { animation: none; }
}

/* ═══════════════════════════════════════════
   Exhibit Pass — cinematic hub + focus reading
   ═══════════════════════════════════════════ */

.help-page-inner.is-hub {
  max-width: none;
  padding: 0 0 4.5rem;
}
@media (min-width: 768px) {
  .help-page-inner.is-hub { padding-bottom: 5.5rem; }
}
.help-page-inner.is-hub > .help-route-fade > .help-continue,
.help-page-inner.is-hub > .help-route-fade > .help-hub-section {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .help-page-inner.is-hub > .help-route-fade > .help-continue,
  .help-page-inner.is-hub > .help-route-fade > .help-hub-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Full-bleed cinematic hero */
.help-hub-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0;
  margin: 0 0 2rem;
  overflow: hidden;
  color: #fff;
}
.help-hub-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #121210;
}
.help-hub-stage__wall {
  position: absolute;
  inset: -8%;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.9fr 0.8fr;
  gap: 1.1rem;
  padding: 8% 6%;
  will-change: transform;
}
.help-hub-frame {
  display: block;
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    #1c1c1a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.help-hub-frame::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(0,115,255,0.22), rgba(255,255,255,0.04) 55%, transparent);
}
.help-hub-frame--a { grid-row: 1 / 3; min-height: 100%; }
.help-hub-frame--b { margin-top: 18%; min-height: 55%; }
.help-hub-frame--c { margin-top: 8%; min-height: 70%; background: #181816; }
.help-hub-frame--d { margin-top: 28%; min-height: 48%; }
.help-hub-stage__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0,0,0,0.15), rgba(0,0,0,0.72) 70%),
    linear-gradient(to top, rgba(18,18,16,0.95) 0%, transparent 38%);
}
.help-hub-hero__center {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem 4rem;
  max-width: 40rem;
}
.help-hub-hero__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  animation: helpFadeUp 0.6s var(--gos-ease-spring) 0.05s both;
}
.help-hub-hero__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0 0 1rem;
  font-size: inherit;
  font-weight: inherit;
}
.help-hub-hero__brand {
  font-family: var(--gos-font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.75rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: #fff;
}
.help-hub-hero__help {
  font-family: var(--gos-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.88);
  opacity: 0;
  animation: helpFadeUp 0.7s var(--gos-ease-spring) 0.28s both;
}
.help-hub-hero__line {
  color: rgba(255,255,255,0.72);
  max-width: 22rem;
  margin: 0 auto 1.6rem;
}
.help-hub-search {
  max-width: 28rem;
}
.help-hub-search__btn {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,0.55);
}
.help-hub-search__btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  box-shadow: 0 18px 48px -16px rgba(0,115,255,0.45);
}
.help-hub-search__icon {
  background: rgba(0,115,255,0.35);
  color: #fff;
}
.help-hub-search__kbd .help-kbd {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
}
.help-hub-scroll {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* Intent chips */
.help-intents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  opacity: 0;
  animation: helpFadeUp 0.55s var(--gos-ease-spring) 0.55s both;
}
.help-intent {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--gos-duration-fast), border-color var(--gos-duration-fast), transform var(--gos-duration-fast);
}
.help-intent:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

/* Continue — compact, below cinematic fold */
.help-continue {
  max-width: 28rem;
  margin: -0.5rem auto 2.5rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
}
.help-continue__sub { display: none; }

/* Exhibit wall paths — horizontal scroll when collapsed */
.help-path--wall:not(.is-expanded) {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.15rem 1rem;
  margin: 0 -0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.help-path--wall:not(.is-expanded) .help-path-card {
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: start;
  min-height: 17rem;
}
.help-path--wall:not(.is-expanded) .help-path-card--extra {
  display: none;
}
@media (min-width: 900px) {
  .help-path--wall:not(.is-expanded) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    margin: 0;
    padding: 0.25rem 0 0;
  }
  .help-path--wall:not(.is-expanded) .help-path-card {
    flex: none;
    min-height: 17.5rem;
  }
}
.help-path--wall.is-expanded {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .help-path--wall.is-expanded { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .help-path--wall.is-expanded { grid-template-columns: repeat(3, 1fr); }
}

.help-hub-section__lead {
  font-size: 0.98rem;
}

/* Focus reading mode */
.help-article-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}
.help-article-hero__row .help-article-hero__eyebrow {
  margin-bottom: 0;
}
.help-focus-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
  background: transparent;
  color: var(--gos-text-soft);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--gos-duration-fast), border-color var(--gos-duration-fast), background var(--gos-duration-fast);
}
.help-focus-btn:hover {
  color: var(--gos-accent);
  border-color: color-mix(in srgb, var(--gos-accent) 30%, var(--gos-dashboard-border));
  background: var(--gos-accent-soft);
}
body.help-mode-focus .help-sidebar,
body.help-mode-focus .help-topbar,
body.help-mode-focus .help-toc,
body.help-mode-focus .help-toc-mobile,
body.help-mode-focus .help-related,
body.help-mode-focus .help-pager,
body.help-mode-focus .help-chips,
body.help-mode-focus .help-article-nav__section,
body.help-mode-focus .help-article-nav__sep,
body.help-mode-focus .help-article-nav__current,
body.help-mode-focus .help-article-nav__crumb {
  display: none !important;
}
body.help-mode-focus #main {
  width: 100%;
}
body.help-mode-focus .help-article-layout {
  grid-template-columns: 1fr;
  max-width: 40rem;
  margin: 0 auto;
}
body.help-mode-focus .help-article-main {
  max-width: none;
  grid-column: 1 / -1;
  grid-row: 2;
}
body.help-mode-focus .help-article-sticky {
  grid-column: 1 / -1;
}
body.help-mode-focus .help-focus-btn {
  color: var(--gos-accent);
  border-color: color-mix(in srgb, var(--gos-accent) 35%, var(--gos-dashboard-border));
  background: var(--gos-accent-soft);
}

/* Hub immersive canvas */
@media (min-width: 1024px) {
  body.help-mode-hub .help-page-inner.is-hub {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-intents,
  .help-hub-hero__help { animation: none !important; opacity: 1 !important; }
}

/* ═══════════════════════════════════════════
   Gallery Pass — app nav + magazine articles
   ═══════════════════════════════════════════ */

/* Always-on return to Gallery OS */
.help-back-app {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-size: 12.5px;
  font-weight: 600;
  transition: background var(--gos-duration-fast), color var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
}
.help-back-app:hover {
  background: var(--gos-hover-fill);
  color: var(--gos-accent);
}
.help-back-app--sidebar {
  border: 1px solid color-mix(in srgb, var(--gos-accent) 18%, var(--gos-dashboard-border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gos-accent) 8%, transparent), transparent 65%),
    color-mix(in srgb, var(--gos-dashboard-surface) 88%, transparent);
  box-shadow: var(--gos-shadow-card);
}
.help-back-app--sidebar:hover {
  border-color: color-mix(in srgb, var(--gos-accent) 35%, var(--gos-dashboard-border));
  color: var(--gos-accent);
}
.help-back-app__icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--gos-accent-soft);
  color: var(--gos-accent);
  flex-shrink: 0;
}
.help-back-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-dashboard-surface) 85%, transparent);
  color: var(--gos-text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--gos-duration-fast), color var(--gos-duration-fast), background var(--gos-duration-fast);
}
.help-back-app-btn:hover {
  color: var(--gos-accent);
  border-color: color-mix(in srgb, var(--gos-accent) 30%, var(--gos-dashboard-border));
  background: var(--gos-accent-soft);
}

.help-app-dock {
  position: fixed;
  bottom: 1.15rem;
  right: 1.15rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem 0.55rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-bg) 92%, var(--gos-dashboard-surface));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--gos-shadow-elevated);
  color: var(--gos-text-primary);
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
  transition: transform var(--gos-duration-fast), box-shadow var(--gos-duration-fast), border-color var(--gos-duration-fast);
}
.help-app-dock:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gos-accent) 35%, var(--gos-dashboard-border));
  box-shadow: 0 14px 36px -14px rgba(0, 115, 255, 0.35), var(--gos-shadow-elevated);
}
.help-app-dock img {
  border-radius: 5px;
}
@media (min-width: 1024px) {
  body:not(.help-mode-hub) .help-back-app-btn {
    order: -1;
  }
}

/* Article page shell */
.help-page-inner.is-article {
  max-width: 100%;
  padding: 1rem 1rem 3.5rem;
}
@media (min-width: 640px) {
  .help-page-inner.is-article {
    padding: 1.35rem 1.35rem 4rem;
    max-width: 680px;
  }
}
@media (min-width: 768px) {
  .help-page-inner.is-article {
    padding: 1.75rem 1.75rem 5rem;
    max-width: 760px;
  }
}
@media (min-width: 1024px) {
  .help-page-inner.is-article {
    max-width: 1080px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1280px) {
  .help-page-inner.is-article {
    max-width: 1140px;
  }
}

/* Article breadcrumb + actions */
.help-article-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.35rem;
  font-size: 12px;
  color: var(--gos-text-soft);
}
.help-article-nav__crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.45rem;
  margin: -0.25rem -0.45rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--gos-accent);
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--gos-duration-fast);
}
.help-article-nav__crumb:hover {
  background: var(--gos-accent-soft);
}
.help-article-nav__sep {
  opacity: 0.45;
  user-select: none;
}
.help-article-nav__section {
  font-weight: 550;
  color: var(--gos-text-secondary);
}
.help-article-nav__current {
  font-weight: 600;
  color: var(--gos-text-primary);
  max-width: 12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.help-article-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.help-article-nav__app {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
  background: transparent;
  color: var(--gos-text-secondary);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  transition: background var(--gos-duration-fast), color var(--gos-duration-fast), border-color var(--gos-duration-fast);
}
.help-article-nav__app:hover {
  color: var(--gos-accent);
  border-color: color-mix(in srgb, var(--gos-accent) 30%, var(--gos-dashboard-border));
  background: var(--gos-accent-soft);
}
@media (max-width: 560px) {
  .help-article-nav__current { display: none; }
  .help-article-nav__sep:last-of-type { display: none; }
}

/* Magazine article hero */
.help-article-hero {
  position: relative;
  margin-bottom: 2rem;
  padding: 0;
  border: none;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-dashboard-surface) 90%, transparent);
  box-shadow: var(--gos-shadow-card);
}
.help-article-hero__band {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5.5rem;
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--section-accent, var(--gos-accent)) 22%, transparent), transparent 58%),
    linear-gradient(to bottom, color-mix(in srgb, var(--gos-surface-elevated) 90%, transparent), transparent);
  pointer-events: none;
}
.help-article-hero__content {
  position: relative;
  padding: 1.65rem 1.5rem 1.5rem;
}
@media (min-width: 768px) {
  .help-article-hero__content { padding: 2rem 2rem 1.75rem; }
}
.help-article-hero__eyebrow {
  margin-bottom: 0.75rem;
}
.help-article-hero__title {
  font-size: clamp(2.15rem, 4.8vw, 3.1rem);
  line-height: 1.06;
  margin: 0 0 0.85rem;
}
.help-article-hero__summary {
  font-family: var(--gos-font-serif);
  font-size: 1.2rem;
  line-height: 1.55;
  margin: 0 0 1.1rem;
  max-width: 34rem;
}
.help-chips--article {
  margin-bottom: 1.5rem;
}

/* Chapter rhythm */
.help-article-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.help-chapter {
  border-radius: 20px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-dashboard-surface) 88%, transparent);
  box-shadow: var(--gos-shadow-card);
  overflow: hidden;
}
.help-chapter--lead {
  border-color: color-mix(in srgb, var(--gos-accent) 15%, var(--gos-dashboard-border));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--gos-accent) 5%, transparent), transparent 50%),
    color-mix(in srgb, var(--gos-dashboard-surface) 92%, transparent);
}
.help-chapter__inner {
  padding: 1.35rem 1.35rem 1.15rem;
}
@media (min-width: 768px) {
  .help-chapter__inner { padding: 1.65rem 1.75rem 1.35rem; }
}
.help-chapter .help-block-heading {
  margin-top: 0;
  font-family: var(--gos-font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--gos-text-primary);
  border-bottom: none;
  padding-bottom: 0;
  line-height: 1.2;
}
.help-chapter .help-block-heading__text {
  flex: 1;
}
.help-chapter--lead .help-block-body:first-child {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gos-text-primary);
  margin-bottom: 0;
}

/* Steps workbook */
.help-steps-wrap {
  margin: 0.75rem 0 0.5rem;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--section-accent, var(--gos-accent)) 14%, var(--gos-dashboard-border));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--section-accent, var(--gos-accent)) 4%, transparent), transparent 50%),
    color-mix(in srgb, var(--gos-dashboard-surface) 94%, transparent);
  overflow: hidden;
  box-shadow: var(--gos-shadow-card);
}
.help-steps-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.45rem 0.75rem;
  padding: 0.9rem 1.1rem 0.8rem;
  border-bottom: 1px solid var(--gos-border);
}
.help-steps-head__left {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.help-steps-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 12%, transparent);
  color: var(--section-accent, var(--gos-accent));
}
.help-steps-head__label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gos-text-soft);
}
.help-steps-head__count {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--section-accent, var(--gos-accent));
}
.help-steps-head__bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 99px;
  background: var(--gos-border);
  overflow: hidden;
}
.help-steps-head__bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--section-accent, var(--gos-accent)), color-mix(in srgb, var(--section-accent, var(--gos-accent)) 50%, #10b981));
  border-radius: inherit;
  transition: width var(--gos-duration-medium) var(--gos-ease-spring);
}
.help-steps-head__done {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  font-weight: 650;
  color: #10b981;
}
.help-steps-wrap .help-steps {
  margin: 0;
  padding: 0.55rem 0.65rem 0.7rem;
  list-style: none;
}
.help-step__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-align: left;
}

/* Callouts in chapters */
.help-chapter .help-callout {
  border-radius: 14px;
  margin-bottom: 0.85rem;
}
.help-chapter .help-callout__copy {
  flex: 1;
  min-width: 0;
}
.help-callout {
  align-items: flex-start;
}

/* Focus mode keeps app dock */
body.help-mode-focus .help-app-dock {
  display: inline-flex;
}
body.help-mode-focus .help-article-nav__actions .help-article-nav__app {
  display: inline-flex;
}

/* TOC on article pages */
.help-page-inner.is-article .help-toc {
  padding-top: 0.25rem;
}
.help-page-inner.is-article .help-toc__label {
  margin-bottom: 0.85rem;
}

/* Pager + related polish on articles */
.help-page-inner.is-article .help-related {
  margin-top: 2.5rem;
  border-radius: 20px;
}
.help-page-inner.is-article .help-pager {
  margin-top: 2rem;
}
.help-pager-btn {
  border-radius: 18px;
}

/* ── Editorial pass: hub app link, explorer cards, chapters, sticky bar ── */

.help-hub-app-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--gos-duration-fast), border-color var(--gos-duration-fast), transform var(--gos-duration-fast);
}
.help-hub-app-link:hover {
  background: rgba(0,115,255,0.28);
  border-color: rgba(0,115,255,0.45);
  transform: translateY(-1px);
}
@media (min-width: 768px) {
  .help-hub-app-link { top: 1.35rem; left: 1.5rem; }
}

.help-hub-section {
  position: relative;
  isolation: isolate;
}
.help-hub-section__head {
  position: relative;
  z-index: 2;
}
/* Fade sits ABOVE the section only — never over titles */
.help-hub-section::before {
  content: '';
  position: absolute;
  top: -4.5rem;
  left: 0;
  right: 0;
  height: 4.5rem;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(to bottom, transparent, var(--gos-bg));
}
body.help-mode-hub .help-hub-section--paths::before {
  background: linear-gradient(to bottom, rgba(18, 18, 16, 0.55), var(--gos-bg));
}
.dark .help-hub-section::before {
  background: linear-gradient(to bottom, transparent, #10100f);
}
.dark body.help-mode-hub .help-hub-section--paths::before {
  background: linear-gradient(to bottom, rgba(18, 18, 16, 0.55), #10100f);
}

.help-explorer__grid {
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .help-explorer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .help-explorer__grid { grid-template-columns: repeat(3, 1fr); }
}
.help-explorer__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-height: 5.5rem;
  padding: 1rem 1.1rem 0.9rem;
  border: 1px solid var(--gos-dashboard-border);
  border-radius: 16px;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--gos-accent) 4%, transparent), transparent 55%),
    color-mix(in srgb, var(--gos-dashboard-surface) 92%, transparent);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  transition:
    border-color var(--gos-duration-fast),
    transform var(--gos-duration-medium) var(--gos-ease-spring),
    box-shadow var(--gos-duration-fast);
}
.help-explorer__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--gos-accent) 12%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity var(--gos-duration-fast);
  pointer-events: none;
}
.help-explorer__card:hover {
  border-color: color-mix(in srgb, var(--gos-accent) 28%, var(--gos-dashboard-border));
  transform: translateY(-2px);
  box-shadow: var(--gos-shadow-card);
}
.help-explorer__card:hover::before { opacity: 1; }
.help-explorer__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--gos-accent) 12%, transparent);
  color: var(--gos-accent);
}
.help-explorer__card-title {
  font-family: var(--gos-font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--gos-text-primary);
  padding-right: 1.25rem;
  overflow: visible;
}
.help-explorer__card-sum {
  font-size: 12px;
  line-height: 1.45;
  color: var(--gos-text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.help-explorer__card-arrow {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  opacity: 0.35;
  transition: opacity var(--gos-duration-fast), transform var(--gos-duration-fast);
}
.help-explorer__card:hover .help-explorer__card-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.help-article-hero {
  --section-accent: var(--gos-accent);
}
.help-article-hero__band {
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--section-accent) 22%, transparent), transparent 58%),
    linear-gradient(to bottom, color-mix(in srgb, var(--gos-surface-elevated) 90%, transparent), transparent);
}
.help-article-hero__eyebrow .help-article-nav__section {
  color: color-mix(in srgb, var(--section-accent) 75%, var(--gos-text-soft));
}

.help-chapter__head {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid transparent;
}
.help-chapter.is-open .help-chapter__head {
  border-bottom-color: var(--gos-border);
}
.help-chapter__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  padding: 1rem 0.5rem 1rem 1.25rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--gos-font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--gos-text-primary);
  transition: background var(--gos-duration-fast);
}
.help-chapter__toggle:hover {
  background: var(--gos-hover-fill);
}
.help-chapter__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex-shrink: 0;
  border: none;
  border-left: 1px solid transparent;
  background: transparent;
  color: var(--gos-text-soft);
  cursor: pointer;
  opacity: 0.45;
  transition: opacity var(--gos-duration-fast), background var(--gos-duration-fast), color var(--gos-duration-fast), border-color var(--gos-duration-fast);
}
.help-chapter__head:hover .help-chapter__link,
.help-chapter__link:focus-visible {
  opacity: 1;
  border-left-color: var(--gos-border);
}
.help-chapter__link:hover {
  background: var(--gos-hover-fill);
  color: var(--gos-accent);
}
.help-chapter__chev {
  flex-shrink: 0;
  opacity: 0.45;
  transition: transform var(--gos-duration-medium) var(--gos-ease-spring);
}
.help-chapter.is-open .help-chapter__chev {
  transform: rotate(180deg);
  opacity: 0.7;
}
.help-chapter__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--gos-duration-medium) var(--gos-ease-spring);
}
.help-chapter__panel > .help-chapter__inner {
  overflow: hidden;
}
.help-chapter.is-open .help-chapter__panel,
.help-chapter--lead .help-chapter__panel {
  grid-template-rows: 1fr;
}
.help-chapter--lead .help-chapter__panel {
  display: block;
}
.help-chapter--lead .help-chapter__inner {
  overflow: visible;
}

.help-article-sticky {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: -0.25rem 0 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-dashboard-surface) 82%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: var(--gos-shadow-card);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  transition:
    opacity var(--gos-duration-fast),
    transform var(--gos-duration-medium) var(--gos-ease-spring),
    max-height var(--gos-duration-medium) var(--gos-ease-spring),
    margin var(--gos-duration-fast),
    padding var(--gos-duration-fast),
    border-width var(--gos-duration-fast);
}
.help-article-sticky.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 4rem;
  margin-bottom: 1rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  border-width: 1px;
}
.help-article-sticky__app {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--gos-accent) 10%, transparent);
  color: var(--gos-accent);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
.help-article-sticky__hub,
.help-article-sticky__focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gos-border);
  border-radius: 8px;
  background: transparent;
  color: var(--gos-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--gos-duration-fast), color var(--gos-duration-fast);
}
.help-article-sticky__hub:hover,
.help-article-sticky__focus:hover {
  background: var(--gos-hover-fill);
  color: var(--gos-text-primary);
}
.help-article-sticky__title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--gos-text-primary);
}

.help-chapter .help-bullets {
  border-radius: 14px;
  background: color-mix(in srgb, var(--gos-surface-elevated) 55%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent);
}
.help-chapter .help-bullet {
  padding: 0.75rem 1rem;
  transition: background var(--gos-duration-fast);
}
.help-chapter .help-bullet:hover {
  background: var(--gos-hover-fill);
}
.help-chapter .help-bullet__dot {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  margin-top: 0.55rem;
  opacity: 0.65;
}

.help-steps-wrap.is-complete .help-steps-head {
  color: color-mix(in srgb, #10b981 70%, var(--gos-text-soft));
}
.help-steps-wrap.is-complete .help-steps-head__bar i {
  background: linear-gradient(90deg, #10b981, color-mix(in srgb, #10b981 60%, var(--gos-accent)));
}
@keyframes help-steps-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
.help-steps-wrap.is-complete {
  animation: help-steps-pop 0.45s var(--gos-ease-spring);
}

@media (prefers-reduced-motion: reduce) {
  .help-chapter__panel { transition: none; }
  .help-article-sticky { transition: opacity var(--gos-duration-fast); transform: none; }
  .help-steps-wrap.is-complete { animation: none; }
  .help-chapter-reveal { opacity: 1; transform: none; }
}

/* ── Prism pass: essentials, related cards, pull quotes, footer, palette ── */

.help-intent {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.help-intent .iconify { opacity: 0.55; }

.help-essentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .help-essentials { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .help-essentials { grid-template-columns: repeat(4, 1fr); }
}
.help-essential-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 11rem;
  padding: 1.1rem 1.15rem 1rem;
  border: 1px solid var(--gos-dashboard-border);
  border-radius: 18px;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--card-accent, var(--gos-accent)) 6%, transparent), transparent 58%),
    color-mix(in srgb, var(--gos-dashboard-surface) 92%, transparent);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  transition: transform var(--gos-duration-medium) var(--gos-ease-spring), box-shadow var(--gos-duration-fast), border-color var(--gos-duration-fast);
}
.help-essential-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gos-shadow-card);
  border-color: color-mix(in srgb, var(--card-accent, var(--gos-accent)) 30%, var(--gos-dashboard-border));
}
.help-essential-card__stripe {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--card-accent, var(--gos-accent));
  border-radius: 18px 0 0 18px;
}
.help-essential-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--card-accent, var(--gos-accent)) 14%, transparent);
  color: var(--card-accent, var(--gos-accent));
}
.help-essential-card__sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gos-text-soft);
}
.help-essential-card__title {
  font-family: var(--gos-font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--gos-text-primary);
  padding-right: 1.5rem;
  overflow: visible;
}
.help-essential-card__sum {
  font-size: 12px;
  line-height: 1.45;
  color: var(--gos-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.help-essential-card__meta {
  margin-top: auto;
  font-size: 11px;
  font-weight: 600;
  color: color-mix(in srgb, var(--card-accent, var(--gos-accent)) 70%, var(--gos-text-soft));
}
.help-essential-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0.35;
  transition: opacity var(--gos-duration-fast), transform var(--gos-duration-fast);
}
.help-essential-card:hover .help-essential-card__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.help-explorer__panel {
  --section-accent: var(--gos-accent);
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--section-accent) 12%, var(--gos-dashboard-border));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--section-accent) 4%, transparent), transparent 45%),
    color-mix(in srgb, var(--gos-dashboard-surface) 90%, transparent);
}
.help-explorer__intro {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.help-explorer__intro-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--section-accent) 14%, transparent);
  color: var(--section-accent);
}
.help-explorer__card-stripe {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--card-accent, var(--gos-accent));
  border-radius: 16px 0 0 16px;
  opacity: 0.7;
}
.help-explorer__card {
  position: relative;
  padding-left: 1.2rem;
}
.help-explorer__card-icon {
  color: var(--card-accent, var(--gos-accent));
  background: color-mix(in srgb, var(--card-accent, var(--gos-accent)) 12%, transparent);
}

.help-block-body--lead {
  font-family: var(--gos-font-serif);
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--gos-text-primary);
  margin-bottom: 0.5rem;
}
.help-pull {
  position: relative;
  margin: 0.5rem 0 1.35rem;
  padding: 1.1rem 1.25rem 1.1rem 1.5rem;
  border: none;
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--section-accent, var(--gos-accent)) 8%, transparent), transparent 60%),
    color-mix(in srgb, var(--gos-surface-elevated) 70%, transparent);
  font-family: var(--gos-font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--gos-text-primary);
}
.help-pull::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 99px;
  background: var(--section-accent, var(--gos-accent));
}
.help-article-hero + .help-toc-mobile + .help-chips--article + .help-chapter-tools .help-pull,
.help-article-body .help-chapter--lead .help-pull {
  margin-top: 0.25rem;
}

.help-chapter-tools {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.help-chapter-tools__btn {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
  background: transparent;
  font-size: 11px;
  font-weight: 650;
  color: var(--gos-text-soft);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--gos-duration-fast), color var(--gos-duration-fast), border-color var(--gos-duration-fast);
}
.help-chapter-tools__btn:hover {
  background: var(--gos-hover-fill);
  color: var(--gos-text-primary);
  border-color: color-mix(in srgb, var(--gos-accent) 20%, var(--gos-dashboard-border));
}

.help-chapter-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--gos-ease-spring), transform 0.55s var(--gos-ease-spring);
}
.help-chapter-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.help-article-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.help-article-hero__eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 14%, transparent);
  color: var(--section-accent, var(--gos-accent));
}

.help-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.help-related__hint {
  font-size: 11px;
  color: var(--gos-text-soft);
}
.help-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 560px) {
  .help-related__grid { grid-template-columns: repeat(2, 1fr); }
}
.help-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 7.5rem;
  padding: 1rem 1rem 0.85rem 1.15rem;
  border: 1px solid var(--gos-dashboard-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--gos-dashboard-surface) 92%, transparent);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  transition: transform var(--gos-duration-fast), border-color var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
}
.help-related-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--card-accent, var(--gos-accent)) 28%, var(--gos-dashboard-border));
  box-shadow: var(--gos-shadow-card);
}
.help-related-card__stripe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--card-accent, var(--gos-accent));
}
.help-related-card__title {
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--gos-text-primary);
}
.help-related-card__sum {
  font-size: 12px;
  line-height: 1.45;
  color: var(--gos-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.help-related-card__foot {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gos-text-soft);
  margin-top: 0.35rem;
}
.help-related-card__foot span:last-child {
  color: color-mix(in srgb, var(--card-accent, var(--gos-accent)) 65%, var(--gos-text-soft));
}

.help-article-footer {
  position: relative;
  margin-top: 2.5rem;
  border-radius: 22px;
  border: 1px solid var(--gos-dashboard-border);
  overflow: hidden;
  background: color-mix(in srgb, var(--gos-dashboard-surface) 88%, transparent);
}
.help-article-footer__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, color-mix(in srgb, var(--gos-accent) 12%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 50%, color-mix(in srgb, #10b981 8%, transparent), transparent 50%);
  pointer-events: none;
}
.help-article-footer__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.5rem 1.35rem;
}
@media (min-width: 640px) {
  .help-article-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.65rem 1.75rem;
  }
}
.help-article-footer__title {
  display: block;
  font-family: var(--gos-font-display, var(--gos-font-serif));
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.help-article-footer__copy p {
  margin: 0;
  font-size: var(--gos-text-sm);
  color: var(--gos-text-secondary);
  max-width: 26rem;
}
.help-article-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}
.help-article-footer__app,
.help-article-footer__hub {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-size: var(--gos-text-sm);
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
}
.help-article-footer__app {
  background: var(--gos-accent);
  color: #fff;
  border: none;
}
.help-article-footer__app:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--gos-accent) 35%, transparent);
}
.help-article-footer__hub {
  background: transparent;
  color: var(--gos-text-primary);
  border: 1px solid var(--gos-dashboard-border);
}
.help-article-footer__hub:hover {
  background: var(--gos-hover-fill);
}

.help-palette__item-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
}
.help-palette__badge {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--badge-accent, var(--gos-accent)) 80%, var(--gos-text-primary));
  background: color-mix(in srgb, var(--badge-accent, var(--gos-accent)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--badge-accent, var(--gos-accent)) 18%, transparent);
}

.help-callout {
  border-left: 3px solid transparent;
  padding-left: 1rem;
}
.help-callout--tip {
  border-left-color: color-mix(in srgb, var(--gos-accent) 70%, #f59e0b);
  background: color-mix(in srgb, var(--gos-accent) 5%, var(--gos-surface-elevated));
}
.help-callout--warn {
  border-left-color: #f59e0b;
  background: color-mix(in srgb, #f59e0b 6%, var(--gos-surface-elevated));
}
.help-callout--ok {
  border-left-color: #10b981;
  background: color-mix(in srgb, #10b981 6%, var(--gos-surface-elevated));
}

.help-page-inner.is-article .help-related {
  padding: 1.5rem;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--gos-accent) 3%, transparent), transparent 50%),
    color-mix(in srgb, var(--gos-surface-elevated) 75%, transparent);
}
.help-article-layout {
  --section-accent: var(--gos-accent);
}
.help-article-hero {
  --section-accent: var(--gos-accent);
}

/* ── Aurora pass: mosaic, glance, bullet cards, shortcuts, read ring ── */

.help-hub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 420px at var(--spot-x, 50%) var(--spot-y, 40%),
    rgba(0, 115, 255, 0.14),
    transparent 65%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}
.help-hub-hero__center { z-index: 2; }

.help-saved {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .help-saved { padding: 0 2rem; } }
.help-saved__label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gos-text-soft);
}
.help-saved__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.help-saved-card {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--gos-accent)) 22%, var(--gos-dashboard-border));
  background: color-mix(in srgb, var(--card-accent, var(--gos-accent)) 6%, var(--gos-dashboard-surface));
  font-size: 12px;
  font-weight: 600;
  color: var(--gos-text-primary);
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
}
.help-saved-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--gos-shadow-card);
}
.help-saved-card .iconify { color: var(--card-accent, var(--gos-accent)); opacity: 0.8; }

.help-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .help-mosaic { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .help-mosaic { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .help-mosaic { grid-template-columns: repeat(4, 1fr); } }
.help-mosaic__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem 0.75rem;
  border: 1px solid var(--gos-dashboard-border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--gos-dashboard-surface) 92%, transparent);
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  transition: transform var(--gos-duration-fast), border-color var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
}
.help-mosaic__tile:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tile-accent, var(--gos-accent)) 35%, var(--gos-dashboard-border));
  box-shadow: var(--gos-shadow-card);
}
.help-mosaic__tile.is-active {
  border-color: color-mix(in srgb, var(--tile-accent, var(--gos-accent)) 45%, var(--gos-dashboard-border));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--tile-accent, var(--gos-accent)) 10%, transparent), transparent 55%),
    color-mix(in srgb, var(--gos-dashboard-surface) 94%, transparent);
}
.help-mosaic__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--tile-accent, var(--gos-accent)) 18%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity var(--gos-duration-fast);
  pointer-events: none;
}
.help-mosaic__tile.is-active .help-mosaic__glow,
.help-mosaic__tile:hover .help-mosaic__glow { opacity: 1; }
.help-mosaic__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--tile-accent, var(--gos-accent)) 14%, transparent);
  color: var(--tile-accent, var(--gos-accent));
}
.help-mosaic__name {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gos-text-primary);
}
.help-mosaic__count {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gos-text-soft);
}

.help-glance {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--section-accent, var(--gos-accent)) 14%, var(--gos-dashboard-border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--section-accent, var(--gos-accent)) 6%, transparent), transparent 60%),
    color-mix(in srgb, var(--gos-dashboard-surface) 90%, transparent);
}
.help-glance__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.help-glance__label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 70%, var(--gos-text-soft));
}
.help-glance__bookmark {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--gos-dashboard-border);
  background: transparent;
  font-size: 11px;
  font-weight: 650;
  color: var(--gos-text-soft);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--gos-duration-fast), color var(--gos-duration-fast), border-color var(--gos-duration-fast);
}
.help-glance__bookmark[aria-pressed="true"] {
  color: var(--section-accent, var(--gos-accent));
  border-color: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 30%, var(--gos-dashboard-border));
  background: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 8%, transparent);
}
.help-glance__bookmark:hover { background: var(--gos-hover-fill); color: var(--gos-text-primary); }
.help-glance__text {
  margin: 0 0 0.75rem;
  font-family: var(--gos-font-serif);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--gos-text-primary);
}
.help-glance__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.help-article-hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}
.help-read-ring {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.help-read-ring__bg {
  stroke: var(--gos-border);
  opacity: 0.5;
}
.help-read-ring__fill {
  stroke: var(--section-accent, var(--gos-accent));
  stroke-dasharray: 94.25;
  stroke-dashoffset: 94.25;
  transition: stroke-dashoffset 0.2s ease-out;
}
.help-read-ring__pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 800;
  color: var(--gos-text-soft);
  pointer-events: none;
}

.help-bullet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 560px) {
  .help-bullet-grid { grid-template-columns: repeat(2, 1fr); }
}
.help-bullet-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-surface-elevated) 65%, transparent);
  font-size: var(--gos-text-sm);
  line-height: 1.55;
  color: var(--gos-text-secondary);
  transition: border-color var(--gos-duration-fast), background var(--gos-duration-fast), transform var(--gos-duration-fast);
}
.help-bullet-card:hover {
  border-color: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 22%, var(--gos-dashboard-border));
  background: var(--gos-hover-fill);
  transform: translateY(-1px);
}
.help-bullet-card__mark {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: var(--section-accent, var(--gos-accent));
  opacity: 0.65;
}
.help-bullet-card__text strong {
  color: var(--gos-text-primary);
  font-weight: 650;
}

.help-shortcut-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
@media (min-width: 480px) {
  .help-shortcut-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .help-shortcut-grid { grid-template-columns: repeat(3, 1fr); }
}
.help-shortcut-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--gos-dashboard-border);
  background: color-mix(in srgb, var(--gos-dashboard-surface) 88%, transparent);
  transition: border-color var(--gos-duration-fast), box-shadow var(--gos-duration-fast);
}
.help-shortcut-card:hover {
  border-color: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 25%, var(--gos-dashboard-border));
  box-shadow: var(--gos-shadow-card);
}
.help-shortcut__kbd {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--gos-dashboard-border);
  background: var(--gos-text-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  box-shadow: 0 2px 0 color-mix(in srgb, var(--gos-border) 80%, #000);
}
.dark .help-shortcut__kbd {
  background: #1a1a18;
  color: var(--gos-text-primary);
}
.help-shortcut__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gos-text-primary);
}
.help-shortcut__val {
  font-size: 12px;
  line-height: 1.45;
  color: var(--gos-text-secondary);
}

.help-dense .help-bullet-grid,
.help-dense .help-shortcut-grid {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .help-hub-hero::after { display: none; }
  .help-bullet-card:hover,
  .help-mosaic__tile:hover { transform: none; }
}

/* ═══════════════════════════════════════════
   Responsive — all breakpoints
   ═══════════════════════════════════════════ */

/* Topbar */
@media (max-width: 639px) {
  .help-topbar {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    gap: 0.5rem;
  }
  .help-topbar__titles {
    min-width: 0;
    flex: 1;
  }
  #page-sub.show { display: none; }
}

/* Article breadcrumb */
@media (max-width: 767px) {
  .help-article-nav {
    gap: 0.3rem 0.4rem;
  }
  .help-article-nav__section {
    display: none;
  }
  .help-article-nav__sep:nth-of-type(2) {
    display: none;
  }
  .help-article-nav__actions {
    width: 100%;
    margin-left: 0;
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--gos-border);
  }
  .help-article-nav__app span:last-child,
  .help-focus-btn__label {
    display: none;
  }
}

/* Article hero + glance */
@media (max-width: 639px) {
  .help-article-hero {
    border-radius: 16px;
    margin-bottom: 1.25rem;
  }
  .help-article-hero__content {
    padding: 1.25rem 1.15rem 1.15rem;
  }
  .help-article-hero__title {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }
  .help-article-hero__foot {
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .help-glance {
    padding: 1rem 1.05rem;
    border-radius: 16px;
    margin-bottom: 1.15rem;
  }
  .help-glance__text {
    font-size: 1rem;
  }
  .help-chapter-tools {
    justify-content: stretch;
  }
  .help-chapter-tools__btn {
    flex: 1;
    text-align: center;
  }
}

/* Sticky reading bar — compact mobile */
@media (max-width: 480px) {
  .help-article-sticky.is-visible {
    gap: 0.35rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .help-article-sticky__app span {
    display: none;
  }
  .help-article-sticky__title {
    font-size: 12px;
  }
}

/* Hub — mobile / tablet */
@media (max-width: 767px) {
  .help-page-inner.is-hub {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
  }
  .help-page-inner.is-hub > .help-route-fade > .help-hub-section,
  .help-page-inner.is-hub > .help-route-fade > .help-continue {
    padding-left: 0;
    padding-right: 0;
  }
  .help-hub-hero {
    min-height: min(78vh, 680px);
    margin-bottom: 1.25rem;
  }
  .help-hub-hero__center {
    padding: 1.5rem 1rem 3rem;
  }
  .help-hub-app-link {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 11px;
    padding: 0.4rem 0.65rem;
  }
  .help-hub-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .help-hub-section {
    padding-left: 0;
    padding-right: 0;
  }
  .help-continue {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
  .help-saved {
    padding-left: 0;
    padding-right: 0;
  }
  .help-essentials {
    gap: 0.55rem;
  }
  .help-essential-card {
    min-height: 0;
  }
  .help-explorer__intro {
    flex-direction: column;
    gap: 0.65rem;
  }
  .help-explorer__count {
    align-self: flex-start;
  }
}

@media (max-width: 639px) {
  .help-intents {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .help-intents::-webkit-scrollbar { display: none; }
  .help-intent {
    flex-shrink: 0;
  }
  .help-explorer__tabs {
    margin-left: -0.15rem;
    margin-right: -0.15rem;
  }
}

/* Tablet — sidebar visible, single-column article */
@media (min-width: 768px) and (max-width: 1023px) {
  .help-page-inner.is-hub {
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .help-article-layout > .help-toc {
    display: none;
  }
  .help-toc-mobile {
    display: flex;
  }
}

/* Desktop article — TOC rail breathing room */
@media (min-width: 1024px) {
  .help-toc-mobile {
    display: none;
  }
  .help-article-nav__current {
    max-width: 20rem;
  }
}

/* Grids — tighten on narrow viewports */
@media (max-width: 559px) {
  .help-related__grid,
  .help-explorer__grid {
    grid-template-columns: 1fr;
  }
  .help-pager-btn--next {
    text-align: left;
    justify-content: flex-start;
  }
  .help-article-footer__inner {
    padding: 1.25rem 1.1rem;
  }
  .help-article-footer__actions {
    width: 100%;
  }
  .help-article-footer__app,
  .help-article-footer__hub {
    flex: 1;
    justify-content: center;
  }
}

/* App dock — safe area */
.help-app-dock {
  bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
  right: max(1rem, env(safe-area-inset-right, 1rem));
}
@media (max-width: 767px) {
  .help-app-dock {
    padding: 0.55rem 0.75rem;
  }
  .help-app-dock__label {
    display: none;
  }
}

/* Focus mode — centered readable column */
@media (max-width: 767px) {
  body.help-mode-focus .help-article-layout {
    max-width: 100%;
    padding: 0 0.25rem;
  }
}

/* ═══════════════════════════════════════════
   Step workbook redesign
   ═══════════════════════════════════════════ */

.help-step {
  position: relative;
  margin: 0 0 0.45rem;
}
.help-step:last-child { margin-bottom: 0; }

.help-step__hit {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.85rem;
  width: 100%;
  padding: 0.95rem 0.9rem 0.95rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition:
    background var(--gos-duration-fast),
    border-color var(--gos-duration-fast),
    box-shadow var(--gos-duration-fast),
    transform var(--gos-duration-fast);
}
.help-step__hit:hover {
  background: var(--gos-hover-fill);
  border-color: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 16%, var(--gos-dashboard-border));
}
.help-step.is-next .help-step__hit {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--section-accent, var(--gos-accent)) 8%, transparent), transparent 70%),
    color-mix(in srgb, var(--gos-dashboard-surface) 88%, transparent);
  border-color: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 28%, var(--gos-dashboard-border));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--section-accent, var(--gos-accent)) 8%, transparent);
}
.help-step.is-done .help-step__hit {
  background: color-mix(in srgb, #10b981 5%, transparent);
  border-color: color-mix(in srgb, #10b981 12%, transparent);
}
.help-step.is-done .help-step__hit:hover {
  background: color-mix(in srgb, #10b981 8%, transparent);
}

.help-step__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.help-step:not(:last-child) .help-step__rail::after {
  content: '';
  position: absolute;
  top: 2.35rem;
  bottom: -1.55rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--section-accent, var(--gos-accent)) 35%, transparent),
    color-mix(in srgb, var(--gos-border) 80%, transparent)
  );
  border-radius: 2px;
  pointer-events: none;
}
.help-step.is-done:not(:last-child) .help-step__rail::after {
  background: linear-gradient(to bottom, #10b981, color-mix(in srgb, #10b981 25%, var(--gos-border)));
}

.help-step__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--section-accent, var(--gos-accent)) 40%, var(--gos-dashboard-border));
  background: color-mix(in srgb, var(--gos-dashboard-surface) 96%, transparent);
  color: var(--section-accent, var(--gos-accent));
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  transition:
    background var(--gos-duration-fast),
    border-color var(--gos-duration-fast),
    color var(--gos-duration-fast),
    transform var(--gos-duration-fast),
    box-shadow var(--gos-duration-fast);
}
.help-step__hit:hover .help-step__check {
  transform: scale(1.05);
  border-color: var(--section-accent, var(--gos-accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--section-accent, var(--gos-accent)) 12%, transparent);
}
.help-step.is-next .help-step__check {
  background: var(--section-accent, var(--gos-accent));
  border-color: var(--section-accent, var(--gos-accent));
  color: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--section-accent, var(--gos-accent)) 16%, transparent);
}
.help-step.is-done .help-step__check {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
  box-shadow: none;
}
.help-step__num { line-height: 1; }

.help-step__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  margin-bottom: 0.15rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--section-accent, var(--gos-accent)) 14%, transparent);
  color: var(--section-accent, var(--gos-accent));
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.help-step__title {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--gos-text-primary);
}
.help-step.is-done .help-step__title {
  text-decoration: line-through;
  opacity: 0.62;
}
.help-step__desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 13px;
  line-height: 1.55;
  color: var(--gos-text-secondary);
}
.help-step.is-done .help-step__desc { opacity: 0.7; }

.help-step__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 0.15rem;
  border-radius: 8px;
  color: var(--gos-text-soft);
  opacity: 0.35;
  transition: opacity var(--gos-duration-fast), color var(--gos-duration-fast), background var(--gos-duration-fast);
}
.help-step__hit:hover .help-step__mark {
  opacity: 0.85;
  background: var(--gos-hover-fill);
}
.help-step.is-done .help-step__mark {
  opacity: 0.55;
  color: #10b981;
}

.help-steps-wrap.is-complete {
  border-color: color-mix(in srgb, #10b981 28%, var(--gos-dashboard-border));
  background:
    linear-gradient(160deg, color-mix(in srgb, #10b981 7%, transparent), transparent 55%),
    color-mix(in srgb, var(--gos-dashboard-surface) 94%, transparent);
}
.help-steps-wrap.is-complete .help-steps-head {
  border-bottom-color: color-mix(in srgb, #10b981 15%, var(--gos-border));
}
.help-steps-wrap.is-complete .help-steps-head__count {
  color: #10b981;
}
.help-steps-wrap.is-complete .help-steps-head__bar i {
  background: linear-gradient(90deg, #10b981, color-mix(in srgb, #10b981 55%, var(--gos-accent)));
}

@media (max-width: 560px) {
  .help-step__hit {
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    padding: 0.85rem 0.75rem;
  }
  .help-step__mark { display: none; }
  .help-steps-head {
    padding: 0.8rem 0.9rem 0.7rem;
  }
  .help-steps-wrap .help-steps {
    padding: 0.4rem 0.45rem 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-step__hit,
  .help-step__check { transition: none; }
}

/* Article body rhythm polish */
.help-article-body {
  gap: 1.1rem;
}
.help-chapter__inner > .help-steps-wrap:first-child {
  margin-top: 0.15rem;
}
.help-chapter__inner > .help-block-body + .help-steps-wrap {
  margin-top: 0.85rem;
}

/* Callouts sit cleaner beside steps */
.help-chapter .help-callout {
  margin-top: 0.35rem;
}

/* ═══════════════════════════════════════════
   Hub shell redesign — sidebar polish
   ═══════════════════════════════════════════ */

.help-explorer {
  position: relative;
}

body:not(.help-mode-hub) .help-sidebar {
  background: color-mix(in srgb, var(--gos-bg) 92%, var(--gos-dashboard-surface));
}
.help-sidebar__back {
  padding: 0.65rem 0.75rem;
}
.help-sidebar__search-wrap {
  padding: 0.65rem 0.75rem;
}
.help-sidebar__nav {
  padding: 0.5rem 0.55rem 1rem;
}
.help-side-foot__hint {
  opacity: 0.85;
}

/* Hub hero room for chrome */
@media (min-width: 1024px) {
  body.help-mode-hub .help-hub-hero__center {
    padding-top: 3.5rem;
  }
  body.help-mode-hub .help-hub-app-link {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   Device polish — all breakpoints
   ═══════════════════════════════════════════ */

/* Mobile drawer guarantee */
@media (max-width: 1023px) {
  .help-sidebar {
    width: min(17.5rem, 88vw);
    box-shadow: 0 0 0 1px var(--gos-dashboard-border), 24px 0 48px -24px rgba(0, 0, 0, 0.35);
  }
  .help-sidebar.help-sidebar--open,
  .help-sidebar:not(.-translate-x-full) {
    transform: translateX(0);
  }
}

/* Hub: topbar stays useful below desktop; hide redundant Hub CTA */
@media (max-width: 1023px) {
  body.help-mode-hub .help-hub-app-link {
    display: none;
  }
  body.help-mode-hub .help-topbar__hub {
    display: none;
  }
  body.help-mode-hub .help-page-inner.is-hub {
    padding-bottom: 2rem;
  }
  body.help-mode-hub .help-hub-hero {
    min-height: min(70vh, 560px);
    border-radius: 0;
  }
  body.help-mode-hub .help-hub-hero__line {
    font-size: 0.95rem;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
  body.help-mode-hub .help-hub-search__kbd {
    display: none;
  }
}

/* Mosaic readability */
.help-mosaic__name {
  font-size: 11px;
  line-height: 1.3;
  max-width: 100%;
}
.help-mosaic__tile {
  min-height: 5.5rem;
  padding: 0.9rem 0.55rem 0.8rem;
}
@media (max-width: 639px) {
  .help-mosaic__tile {
    min-height: 4.75rem;
    padding: 0.7rem 0.4rem 0.65rem;
  }
  .help-mosaic__icon {
    width: 30px;
    height: 30px;
  }
  .help-mosaic__name {
    font-size: 10px;
  }
}

/* Path cards — mobile swipe comfort */
@media (max-width: 899px) {
  .help-path--wall:not(.is-expanded) .help-path-card {
    flex: 0 0 min(82vw, 300px);
    min-height: 15.5rem;
  }
}

/* Essentials — stack cleanly */
@media (max-width: 639px) {
  .help-essentials {
    grid-template-columns: 1fr;
  }
  .help-essential-card__sum {
    -webkit-line-clamp: 3;
  }
}

/* Continue / saved strips */
@media (max-width: 767px) {
  .help-page-inner.is-hub > .help-route-fade > .help-saved,
  .help-page-inner.is-hub > .help-route-fade > .help-continue {
    margin-left: 0;
    margin-right: 0;
  }
  .help-continue {
    width: 100%;
  }
}

/* Palette — phone-friendly sheet */
@media (max-width: 639px) {
  .help-palette {
    padding: 0;
    align-items: flex-end;
  }
  .help-palette__panel {
    max-width: none;
    max-height: min(88vh, 640px);
    border-radius: 20px 20px 0 0;
    transform: translateY(24px);
  }
  .help-palette.is-open .help-palette__panel {
    transform: translateY(0);
  }
  .help-palette__footer {
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
}

/* Article — tablet single column breathing room */
@media (min-width: 768px) and (max-width: 1023px) {
  .help-page-inner.is-article {
    max-width: 720px;
  }
  .help-chapter__toggle {
    font-size: 1.25rem;
    padding: 0.95rem 0.65rem 0.95rem 1.15rem;
  }
}

/* Article — phone chapter + steps */
@media (max-width: 639px) {
  .help-chapter {
    border-radius: 16px;
  }
  .help-chapter__toggle {
    font-size: 1.15rem;
    padding: 0.85rem 0.45rem 0.85rem 1rem;
  }
  .help-chapter__link {
    width: 40px;
  }
  .help-chapter__inner {
    padding: 1rem 1rem 0.95rem;
  }
  .help-steps-wrap {
    border-radius: 16px;
  }
  .help-block-body--lead,
  .help-pull {
    font-size: 1.05rem;
  }
  .help-article-footer__title {
    font-size: 1.05rem;
  }
}

/* Toast clear of dock / safe area */
.help-toast {
  bottom: max(1.25rem, env(safe-area-inset-bottom, 1.25rem));
}
body:not(.help-mode-hub) .help-toast {
  bottom: max(4.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.25rem));
}

/* Related + pager phone */
@media (max-width: 559px) {
  .help-related-card {
    min-height: 0;
  }
  .help-pager {
    gap: 0.55rem;
  }
}

/* Focus mode keeps app exits */
@media (max-width: 1023px) {
  body.help-mode-focus .help-app-dock {
    display: inline-flex;
  }
}

/* Hub section max width after full-bleed hero */
@media (min-width: 1024px) {
  .help-page-inner.is-hub > .help-route-fade > .help-continue,
  .help-page-inner.is-hub > .help-route-fade > .help-saved,
  .help-page-inner.is-hub > .help-route-fade > .help-hub-section {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}


