/**
 * Pickadoc Help — Style an pickadoc.ai (homepage 2026 / legal.css)
 */

:root {
  --pink: #d862c8;
  --pink-light: #e89fdd;
  --pink-ultra: #fbeefa;
  --pink-tint: #fdf6fc;

  --ink: #24374e;
  --ink-soft: rgba(36, 55, 78, 0.72);
  --font: #6f6f72;
  --font-dark: #24374e;

  --white: #ffffff;
  --page: #ffffff;
  --alt: #f5f6f8;
  --grid: #e8e9ed;
  --line: rgba(36, 55, 78, 0.1);
  --line2: rgba(36, 55, 78, 0.16);

  --teal: #1aaa96;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --sh-sm: 0 2px 8px rgba(36, 55, 78, 0.05);
  --sh-md: 0 10px 30px rgba(36, 55, 78, 0.08);
  --sh-lg: 0 24px 60px rgba(36, 55, 78, 0.1);

  --max: 1120px;
  --sidebar: 280px;
  --font-sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  color: #c44eb4;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: rgba(216, 98, 200, 0.28);
  color: var(--ink);
}

/* ——— Header (wie pickadoc.ai / legal) ——— */

.help-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(36, 55, 78, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.help-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.2vw, 28px);
  height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.help-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  font-size: 1.12rem;
}

.help-logo:hover {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.92;
}

.help-logo img {
  width: 30px;
  height: 30px;
}

.help-logo b,
.help-logo .help-logo__dot {
  color: var(--pink);
  font-weight: 900;
}

.help-logo__tag {
  margin-left: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(36, 55, 78, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px 9px;
}

.help-header__nav {
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (min-width: 820px) {
  .help-header__nav {
    display: flex;
  }
}

.help-header__nav a {
  color: rgba(36, 55, 78, 0.62);
  transition: color 0.15s;
}

.help-header__nav a:hover {
  color: var(--ink);
}

.help-header__nav .fas,
.help-header__nav .far {
  margin-right: 5px;
  opacity: 0.85;
  font-size: 0.85em;
}

.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 0.86rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.help-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.help-btn--primary {
  background: linear-gradient(135deg, var(--pink), #b13fa0);
  color: #fff;
  box-shadow: 0 10px 28px rgba(216, 98, 200, 0.35);
}

.help-btn--primary:hover {
  color: #fff;
  box-shadow: 0 14px 36px rgba(216, 98, 200, 0.48);
}

.help-btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line2);
}

.help-btn--ghost:hover {
  background: var(--alt);
  color: var(--ink);
}

/* ——— Hero band ——— */

.help-hero-band {
  position: relative;
  overflow: visible;
  color: #fff;
  padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px);
  background:
    radial-gradient(820px 460px at 12% -10%, rgba(216, 98, 200, 0.26), transparent 60%),
    radial-gradient(680px 420px at 96% 120%, rgba(46, 230, 200, 0.12), transparent 60%),
    linear-gradient(160deg, #100c1a 0%, #07070d 100%);
}

.help-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 78%);
}

.help-hero-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.2vw, 28px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.help-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 15px;
  color: var(--pink-light);
  background: rgba(216, 98, 200, 0.12);
  border: 1px solid rgba(216, 98, 200, 0.34);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.help-eyebrow i.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(216, 98, 200, 0.16);
}

.help-hero-band h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: #fff;
}

.help-hero-band h1 em,
.help-hero-band h1 i.accent {
  font-style: italic;
  color: var(--pink-light);
  font-weight: 900;
}

.help-hero-band p {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
}

/* ——— Search (Hero) ——— */

.help-search {
  position: relative;
  margin-top: 28px;
  max-width: 560px;
  width: 100%;
  z-index: 40;
}

.help-search__box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.help-search__box:focus-within {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    0 0 0 3px rgba(216, 98, 200, 0.45);
}

.help-search__box > .fas.fa-search {
  color: var(--pink);
  font-size: 1rem;
  flex-shrink: 0;
}

.help-search__box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 0;
}

/* Native Browser-Clear (zweites X bei Focus) ausblenden — wir haben eigenen Clear */
.help-search__box input[type="search"]::-webkit-search-cancel-button,
.help-search__box input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.help-search__box input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.help-search__box input::placeholder {
  color: rgba(36, 55, 78, 0.45);
  font-weight: 500;
}

.help-search__clear {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(36, 55, 78, 0.45);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.help-search__clear:hover {
  background: var(--alt);
  color: var(--ink);
}

.help-search__submit {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #b13fa0);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(216, 98, 200, 0.4);
}

.help-search__submit:hover {
  filter: brightness(1.05);
}

.help-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(36, 55, 78, 0.22);
  box-shadow: 0 8px 28px rgba(36, 55, 78, 0.12), 0 2px 8px rgba(36, 55, 78, 0.06);
  overflow: hidden;
  max-height: min(420px, 60vh);
  overflow-y: auto;
  z-index: 20;
}

.help-search__results[hidden] {
  display: none;
}

.help-search__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--grid);
  transition: background 0.12s;
  cursor: pointer;
}

.help-search__item:last-child {
  border-bottom: 0;
}

.help-search__item:hover,
.help-search__item.is-focused {
  background: var(--pink-tint);
  text-decoration: none;
  color: inherit;
}

.help-search__item.is-soon {
  cursor: default;
  opacity: 0.85;
}

.help-search__item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--pink-ultra);
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.help-search__item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.help-search__item-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.3;
}

.help-search__item-title mark {
  background: rgba(216, 98, 200, 0.22);
  color: var(--pink);
  font-weight: 900;
  border-radius: 3px;
  padding: 0 2px;
}

.help-search__item-path {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--font);
  line-height: 1.35;
}

.help-search__empty {
  padding: 18px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--font);
  text-align: center;
}

/* Kompakte Suche auf Artikelseiten (ohne dunkles Hero) */
.help-page-bar {
  background: var(--alt);
  border-bottom: 1px solid var(--grid);
}

.help-page-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px clamp(16px, 2.2vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.help-crumb--light {
  margin: 0;
  color: var(--font);
  letter-spacing: 0.04em;
}

.help-crumb--light a {
  color: var(--pink);
}

.help-crumb--light a:hover {
  color: #c44eb4;
}

.help-search--compact {
  margin-top: 0;
  max-width: 340px;
  width: 100%;
  flex: 1 1 260px;
}

.help-search--compact .help-search__box {
  padding: 3px 3px 3px 12px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--grid);
}

.help-search--compact .help-search__box:focus-within {
  box-shadow: 0 0 0 3px rgba(216, 98, 200, 0.28);
  border-color: rgba(216, 98, 200, 0.45);
}

.help-search--compact .help-search__box > .fas.fa-search {
  font-size: 0.85rem;
}

.help-search--compact .help-search__box input {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 7px 0;
}

.help-search--compact .help-search__clear {
  width: 28px;
  height: 28px;
}

.help-search--compact .help-search__submit {
  width: 34px;
  height: 34px;
  box-shadow: 0 4px 12px rgba(216, 98, 200, 0.3);
}

.help-search--compact .help-search__results {
  border-radius: 14px;
  top: calc(100% + 6px);
}

.help-lead {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--font);
  line-height: 1.55;
  max-width: 48em;
}

.help-page--article .help-wrap {
  padding-top: 24px;
}

.help-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 14px;
}

.help-crumb a {
  color: var(--pink-light);
}

.help-crumb a:hover {
  color: #fff;
}

.help-breadcrumb__sep {
  font-size: 10px;
  opacity: 0.55;
}

/* ——— Layout ——— */

.help-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(16px, 2.2vw, 28px) 72px;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.help-sidebar {
  position: sticky;
  top: 94px;
  background: var(--white);
  border: 1px solid var(--grid);
  border-radius: var(--r-lg);
  padding: 20px 14px;
  box-shadow: var(--sh-sm);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.help-sidebar h2 {
  margin: 0 0 12px;
  padding: 0 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink);
  font-weight: 900;
}

.help-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help-nav__group + .help-nav__group {
  margin-top: 2px;
}

.help-nav__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.help-nav__toggle:hover {
  background: var(--pink-tint);
}

.help-nav__group.is-open > .help-nav__toggle {
  background: var(--pink-ultra);
}

.help-nav__toggle > .fas:first-child,
.help-nav__toggle > .far:first-child {
  width: 1.2em;
  color: var(--pink);
  text-align: center;
  flex-shrink: 0;
}

.help-nav__label {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.help-nav__chev {
  font-size: 0.7rem;
  color: rgba(36, 55, 78, 0.4);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.help-nav__group.is-open .help-nav__chev {
  transform: rotate(180deg);
}

.help-nav__sub {
  list-style: none;
  margin: 2px 0 8px;
  padding: 0 0 0 12px;
  border-left: 2px solid rgba(216, 98, 200, 0.25);
  margin-left: 18px;
}

.help-nav__sub[hidden] {
  display: none;
}

.help-nav__sub a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(36, 55, 78, 0.72);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: color 0.15s;
}

.help-nav__sub a:hover {
  background: transparent;
  color: var(--ink);
}

.help-nav__sub a.is-active {
  background: transparent;
  color: var(--pink);
  font-weight: 800;
  box-shadow: none;
}

.help-nav__soon {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-ultra);
  border-radius: var(--r-pill);
  padding: 2px 7px;
}

/* Legacy flat links (falls noch irgendwo) */
.help-sidebar > ul:not(.help-nav) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help-sidebar > ul:not(.help-nav) a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.help-main {
  background: var(--white);
  border: 1px solid var(--grid);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--sh-sm);
  min-width: 0;
}

/* ——— Home (ohne dunkles Band im Main) ——— */

.help-page--home .help-wrap,
.help-wrap--home {
  grid-template-columns: 1fr;
  padding-top: 8px;
}

.help-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .help-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .help-cats {
    grid-template-columns: 1fr;
  }
}

.help-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--alt);
  border: 1px solid var(--grid);
  border-radius: var(--r-md);
  padding: 28px 22px 24px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.15s;
}

.help-cat:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: rgba(216, 98, 200, 0.35);
  text-decoration: none;
  color: inherit;
}

.help-cat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--pink-ultra);
  color: var(--pink);
  font-size: 2.35rem;
  margin-bottom: 4px;
}

/* Spezifischer als .help-main h3 (gleiche Kaskade, kommt sonst später und gewinnt) */
.help-main .help-cat h3 {
  margin: 0 0 6px;
  font-size: 1.60rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.help-cat p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--font);
  font-weight: 500;
  line-height: 1.5;
}

.help-section-title {
  margin: 40px 0 8px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.help-section-title .fas,
.help-section-title .far {
  color: var(--pink);
  margin-right: 8px;
}

.help-article-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--grid);
}

.help-article-list li {
  border-bottom: 1px solid var(--grid);
}

.help-article-list a {
  display: block;
  padding: 16px 4px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: color 0.15s;
}

.help-article-list a:hover {
  color: var(--pink);
}

.help-article-list span {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--font);
  margin-top: 3px;
}

.help-article-list__chev {
  color: var(--pink);
  margin-right: 8px;
  font-size: 0.75em;
}

/* ——— Article typography ——— */

.help-main h1 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--ink);
}

.help-title-icon {
  color: var(--pink);
  margin-right: 8px;
}

.help-meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--font);
  margin: 0 0 22px;
}

.help-meta .far,
.help-meta .fas {
  margin-right: 4px;
  color: var(--pink);
}

.help-main h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding-top: 18px;
  border-top: 1px solid var(--grid);
}

.help-main h2:first-of-type {
  margin-top: 8px;
}

.help-main h2 .fas,
.help-main h2 .far {
  color: var(--pink);
  margin-right: 8px;
  width: 1.15em;
  text-align: center;
}

.help-main h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.help-main p {
  margin: 0 0 14px;
  color: var(--font);
  font-weight: 500;
}

.help-main strong,
.help-main b {
  color: var(--ink);
  font-weight: 800;
}

.help-main ul,
.help-main ol {
  margin: 0 0 16px;
  padding-left: 1.35em;
  color: var(--font);
  font-weight: 500;
}

.help-main li + li {
  margin-top: 8px;
}

.help-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 22px 0 28px;
  padding: 18px 20px;
  background: var(--pink-tint);
  border: 1px solid rgba(216, 98, 200, 0.22);
  border-radius: var(--r-md);
}

.help-download__meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.help-callout {
  background: var(--pink-tint);
  border: 1px solid rgba(216, 98, 200, 0.22);
  border-left: 4px solid var(--pink);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 18px;
  margin: 20px 0;
}

.help-callout p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.help-callout .fas,
.help-callout .far {
  color: var(--pink);
  margin-right: 6px;
}

.help-icon-list {
  list-style: none;
  padding-left: 0;
}

.help-icon-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.help-icon-list .fas,
.help-icon-list .far {
  color: var(--pink);
  margin-top: 4px;
  width: 1.2em;
  text-align: center;
  flex-shrink: 0;
}

.help-figure {
  margin: 22px 0;
}

.help-figure--dialog {
  max-width: 420px;
}

.help-figure--panel {
  max-width: 560px;
}

.help-figure img {
  border: 1px solid var(--grid);
  border-radius: 0;
  background: #fff;
  box-shadow: var(--sh-sm);
  width: 100%;
  height: auto;
}

.help-figure img.is-zoomable {
  cursor: zoom-in;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.help-figure img.is-zoomable:hover,
.help-figure img.is-zoomable:focus-visible {
  border-color: var(--pink-light);
  box-shadow: var(--sh-md);
  outline: none;
}

/* Screenshot-Lightbox */
.help-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 48px 24px 24px;
  background: rgba(36, 55, 78, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  overflow: auto;
}

.help-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.help-lightbox__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(96vw, 1400px);
  margin: auto;
  outline: none;
}

.help-lightbox__img {
  display: block;
  max-width: min(96vw, 1400px);
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  background: #fff;
  cursor: zoom-out;
}

.help-lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10001;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--sh-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.help-lightbox__close:hover,
.help-lightbox__close:focus-visible {
  background: var(--pink);
  color: var(--white);
  outline: none;
}

body.help-lightbox-open {
  overflow: hidden;
}

.help-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: var(--alt);
  border: 1px dashed rgba(36, 55, 78, 0.2);
  border-radius: var(--r-md);
  color: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  gap: 6px;
}

.help-placeholder .fas,
.help-placeholder .far {
  font-size: 1.6rem;
  color: rgba(36, 55, 78, 0.28);
  margin-bottom: 4px;
}

.help-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--grid);
}

.help-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.help-main th,
.help-main td {
  border-bottom: 1px solid var(--grid);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.help-main th {
  background: var(--alt);
  color: var(--ink);
  font-weight: 800;
}

.help-main tr:last-child td {
  border-bottom: none;
}

/* ——— Footer ——— */

.help-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 40px 0 28px;
  background:
    radial-gradient(700px 400px at 10% -20%, rgba(216, 98, 200, 0.22), transparent 60%),
    linear-gradient(180deg, #0c0d15 0%, #07070d 100%);
}

.help-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.2vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.help-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
}

.help-footer__brand:hover {
  color: #fff;
  text-decoration: none;
}

.help-footer__brand img {
  width: 28px;
  height: 28px;
}

.help-footer__brand .help-logo__dot {
  color: var(--pink-light);
}

.help-footer small {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 0.85rem;
}

.help-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.help-footer nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 700;
}

.help-footer nav a:hover {
  color: #fff;
}

/* ——— Responsive ——— */

@media (max-width: 860px) {
  .help-wrap {
    grid-template-columns: 1fr;
  }

  .help-sidebar {
    position: static;
  }

  .help-logo__tag {
    display: none;
  }

  .help-page-bar__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .help-search--compact {
    max-width: none;
  }
}
