/* TicketRally Help — semantic CSS, no Tailwind build required. */
@font-face {
  font-family: "Recoleta Medium";
  src: url("/assets/Recolata_Medium.a9b23bfee898.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* Local variable fonts. build.py substitutes the fingerprinted asset URLs. */
@font-face {
  font-family: "Inter";
  src: url("/assets/InterVariable.693b77d4f32e.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/InterVariable-Italic.e564f652916d.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-ui: -apple-system, BlinkMacSystemFont, "Inter", system-ui, "Segoe UI", sans-serif;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #18181b;
  --body: #47474f;
  --muted: #9199a8;
  --line: rgba(24, 24, 27, .09);
  --line-strong: rgba(24, 24, 27, .14);
  --sidebar-width: 288px;
  --brand-violet: #6d5dfc;
  --brand-pink: #d9349a;
  --brand-orange: #ff7a32;
}

html.dark {
  --bg: #09090b;
  --surface: #09090b;
  --text: #f4f4f5;
  --body: #d2d2d8;
  --muted: #9099aa;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .13);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
[x-cloak] { display: none !important; }
svg { display: block; }

.site-body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand-gradient { background: linear-gradient(135deg, var(--brand-violet), var(--brand-pink) 52%, var(--brand-orange)); }

/* Premium glass sidebar from v22. */
.help-sidebar {
  position: relative;
  isolation: isolate;
  background:
  radial-gradient(520px 340px at -8% -4%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.56) 34%, transparent 68%),
  radial-gradient(430px 310px at 108% 17%, rgba(151,130,255,.045) 0%, rgba(151,130,255,.014) 46%, transparent 72%),
  radial-gradient(430px 330px at 105% 80%, rgba(84,193,255,.030) 0%, rgba(84,193,255,.008) 50%, transparent 74%),
  linear-gradient(165deg, rgba(255,255,255,.84) 0%, rgba(249,249,251,.76) 42%, rgba(246,247,249,.72) 100%);
  backdrop-filter: blur(30px) saturate(132%);
  -webkit-backdrop-filter: blur(30px) saturate(132%);
  box-shadow:
  inset -1px 0 rgba(255,255,255,.76),
  inset 1px 0 rgba(255,255,255,.22),
  inset 0 1px rgba(255,255,255,.92),
  10px 0 34px rgba(24,24,27,.026);
}
.help-sidebar::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    118deg,
    rgba(255,255,255,.56) 0%,
                              rgba(255,255,255,.19) 21%,
                              transparent 38%,
                              transparent 69%,
                              rgba(255,255,255,.11) 83%,
                              rgba(255,255,255,.32) 100%
  );
  opacity: .88;
}
.help-sidebar::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 5;
  inset-block: 0;
  right: -1px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.92) 0%,
                              rgba(151,130,255,.15) 23%,
                              rgba(84,193,255,.12) 49%,
                              rgba(211,87,184,.08) 73%,
                              rgba(255,255,255,.68) 100%
  );
  box-shadow:
  -1px 0 rgba(255,255,255,.48),
  1px 0 rgba(24,24,27,.035);
  opacity: .56;
}
.dark .help-sidebar {
  background:
  radial-gradient(520px 340px at -8% -4%, rgba(255,255,255,.055) 0%, rgba(255,255,255,.018) 36%, transparent 68%),
  radial-gradient(430px 310px at 108% 17%, rgba(123,97,255,.14) 0%, rgba(123,97,255,.045) 46%, transparent 72%),
  radial-gradient(430px 330px at 105% 80%, rgba(55,177,255,.09) 0%, rgba(55,177,255,.025) 50%, transparent 74%),
  linear-gradient(165deg, rgba(20,20,25,.91) 0%, rgba(13,14,18,.89) 48%, rgba(10,10,14,.91) 100%);
  box-shadow:
  inset -1px 0 rgba(255,255,255,.035),
  inset 1px 0 rgba(255,255,255,.018),
  inset 0 1px rgba(255,255,255,.04),
  10px 0 36px rgba(0,0,0,.12);
}
.dark .help-sidebar::before {
  background: linear-gradient(
    118deg,
    rgba(255,255,255,.032) 0%,
                              rgba(255,255,255,.010) 22%,
                              transparent 39%,
                              transparent 69%,
                              rgba(255,255,255,.008) 84%,
                              rgba(255,255,255,.018) 100%
  );
  opacity: 1;
}
.dark .help-sidebar::after {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.15) 0%,
                              rgba(132,105,255,.35) 23%,
                              rgba(83,181,255,.29) 49%,
                              rgba(214,84,179,.22) 73%,
                              rgba(255,255,255,.10) 100%
  );
  box-shadow:
  -1px 0 rgba(255,255,255,.018),
  1px 0 rgba(0,0,0,.22);
  opacity: .74;
}

.desktop-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar-width); display: flex; flex-direction: column;
  border-right: 1px solid rgba(228,228,231,.7);
}
.dark .desktop-sidebar { border-right-color: rgba(255,255,255,.075); }
.sidebar-brand {
  position: relative;
  isolation: isolate;
  padding: 28px 24px 20px;
}
.sidebar-brand::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  left: -28px;
  top: -30px;
  width: 210px;
  height: 118px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,.82) 0%,
                              rgba(255,255,255,.27) 40%,
                              transparent 72%
  );
  filter: blur(19px);
  opacity: .70;
}
.dark .sidebar-brand::before {
  background: radial-gradient(
    ellipse at center,
    rgba(139,116,255,.11) 0%,
                              rgba(255,255,255,.024) 42%,
                              transparent 72%
  );
  opacity: 1;
}

.brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: auto; height: 36px; object-fit: contain; }
.brand-title { font-size: 24px; font-weight: 650; letter-spacing: -.04em; }

.search-trigger {
  width: 100%; height: 40px; margin-top: 24px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  border: 1px solid #e4e4e7; border-radius: 12px; background: #fff; color: #71717a; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.02); transition: border-color .15s, background .15s, color .15s;
}
.search-trigger:hover { border-color: #d4d4d8; background: #fff; color: #3f3f46; }
.dark .search-trigger { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.035); color: #a1a1aa; }
.dark .search-trigger:hover { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.05); color: #e4e4e7; }
.search-trigger svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-trigger span { flex: 1; text-align: left; font-size: 14px; }
.search-trigger kbd { border: 1px solid #e4e4e7; border-radius: 6px; background: #fafafa; padding: 3px 6px; color: #a1a1aa; font-size: 10px; font-weight: 600; }
.dark .search-trigger kbd { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.04); }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 4px 16px 32px; scrollbar-width: thin; scrollbar-color: transparent transparent; }
.sidebar-nav:hover, .sidebar-nav:focus-within { scrollbar-color: rgba(113,113,122,.24) transparent; }
.dark .sidebar-nav:hover, .dark .sidebar-nav:focus-within { scrollbar-color: rgba(161,161,170,.20) transparent; }
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { border-radius: 999px; background: transparent; }
.sidebar-nav:hover::-webkit-scrollbar-thumb, .sidebar-nav:focus-within::-webkit-scrollbar-thumb { background: rgba(113,113,122,.24); }
.dark .sidebar-nav:hover::-webkit-scrollbar-thumb, .dark .sidebar-nav:focus-within::-webkit-scrollbar-thumb { background: rgba(161,161,170,.20); }
.nav-section { margin: 0 0 28px; }
.nav-section-title { margin: 0; padding: 0 10px 8px; color: #a1a1aa; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.dark .nav-section-title { color: #71717a; }
.nav-link { display: block; border-radius: 8px; padding: 6px 10px; color: #5d5d66; font-size: 14px; line-height: 1.45; text-decoration: none; transition: background .15s, color .15s; }
.nav-link:hover { background: rgba(244,244,245,.82); color: #18181b; }
.dark .nav-link { color: #a1a1aa; }
.dark .nav-link:hover { background: rgba(255,255,255,.05); color: #f4f4f5; }

.ticket-nav-active { position: relative; isolation: isolate; display: flex; align-items: center; gap: 10px; overflow: visible; border: 0; background: transparent; box-shadow: none; padding: 8px 12px; color: #18181b; font-weight: 650; }
.dark .ticket-nav-active { color: #fff; }
.ticket-shape { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 1px 3px rgba(24,24,27,.025)); }
.ticket-shape path { fill: rgba(255,255,255,.97); stroke: rgba(212,212,216,.94); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dark .ticket-shape { filter: none; }
.dark .ticket-shape path { fill: rgba(255,255,255,.075); stroke: rgba(255,255,255,.11); }
.active-accent { position: relative; z-index: 1; width: 3px; height: 16px; flex: 0 0 3px; border-radius: 999px; background: linear-gradient(180deg, var(--brand-violet), var(--brand-pink) 55%, var(--brand-orange)); }
.nav-link-label { position: relative; z-index: 1; }

.sidebar-footer { position: relative; display: flex; align-items: center; gap: 4px; padding: 16px; border-top: 1px solid rgba(228,228,231,.8); }
.dark .sidebar-footer { border-top-color: rgba(255,255,255,.075); }
.locale-wrap { position: relative; flex: 1; }
.locale-button { width: 100%; height: 36px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 8px; background: transparent; color: #71717a; padding: 0 10px; cursor: pointer; font-size: 12.5px; font-weight: 600; }
.locale-button:hover { background: rgba(244,244,245,.8); color: #3f3f46; }
.locale-button-static { cursor: default; }
.dark .locale-button { color: #a1a1aa; }
.dark .locale-button:hover { background: rgba(255,255,255,.05); color: #f4f4f5; }
.locale-button svg, .theme-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; }
.locale-button span { flex: 1; text-align: left; }
.locale-button small { color: #a1a1aa; font-size: 10px; }
.locale-menu { position: absolute; left: 0; bottom: 44px; z-index: 70; width: 208px; padding: 6px; border: 1px solid #e4e4e7; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.dark .locale-menu { border-color: rgba(255,255,255,.09); background: #18181b; }
.locale-option { display: flex; justify-content: space-between; border-radius: 8px; padding: 8px 12px; font-size: 12.5px; text-decoration: none; }
.locale-option.is-current { background: #f4f4f5; font-weight: 650; }
.dark .locale-option.is-current { background: rgba(255,255,255,.07); }
.locale-option span { color: #a1a1aa; font-size: 10px; }
.theme-button, .mobile-icon-button { display: grid; place-items: center; border: 0; background: transparent; color: #71717a; cursor: pointer; }
.theme-button { width: 36px; height: 36px; border-radius: 8px; }
.theme-button:hover, .mobile-icon-button:hover { background: rgba(244,244,245,.8); color: #3f3f46; }
.dark .theme-button, .dark .mobile-icon-button { color: #a1a1aa; }
.dark .theme-button:hover, .dark .mobile-icon-button:hover { background: rgba(255,255,255,.05); color: #f4f4f5; }

.page-main { min-height: 100vh; margin-left: var(--sidebar-width); background: var(--surface); }
.article-shell {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: 48px 56px 96px;
}
.article-eyebrow {
  margin-bottom: 8px;
  color: rgba(161,161,170,.9);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dark .article-eyebrow { color: #71717a; }
.article-header { margin-bottom: 40px; }
.article-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.article-title {
  margin: 0;
  max-width: 720px;
  color: var(--text);
  font-family: "Recoleta Medium", "Iowan Old Style", Georgia, serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.022em;
}
.article-dek {
  max-width: 680px;
  margin: 8px 0 0;
  color: #9199a8;
  font-size: 17px;
  line-height: 1.65;
}
.dark .article-dek { color: #9099aa; }

.article-tools { display: flex; flex: none; align-items: center; gap: 8px; margin-top: 4px; }
.tool-wrap { position: relative; }
.article-tool { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.56); color: #71717a; cursor: pointer; transition: color .15s, background .15s, border-color .15s, transform .15s; }
.article-tool:hover { color: #27272a; background: rgba(250,250,250,.95); border-color: var(--line-strong); }
.article-tool:active { transform: translateY(1px); }
.dark .article-tool { color: #a1a1aa; background: rgba(255,255,255,.025); border-color: rgba(255,255,255,.08); }
.dark .article-tool:hover { color: #f4f4f5; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.13); }
.article-tool svg { display: block; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.article-tool.is-done { color: #5b48df; border-color: rgba(109,93,252,.28); background: rgba(109,93,252,.07); animation: tool-confirm .42s cubic-bezier(.2,.8,.2,1); }
.dark .article-tool.is-done { color: #b6adff; border-color: rgba(139,124,255,.32); background: rgba(109,93,252,.13); }
.tool-tip { pointer-events: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; white-space: nowrap; border: 1px solid rgba(24,24,27,.10); border-radius: 8px; background: rgba(24,24,27,.96); padding: 5px 8px; color: #fff; font-size: 11px; font-weight: 650; line-height: 1; opacity: 0; transform: translateY(-3px) scale(.98); transform-origin: top right; transition: opacity .14s, transform .14s; box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.tool-wrap:hover .tool-tip, .tool-wrap:focus-within .tool-tip { opacity: 1; transform: none; }
.dark .tool-tip { border-color: rgba(255,255,255,.10); background: rgba(244,244,245,.97); color: #18181b; }
@keyframes tool-confirm { 0%{transform:scale(1)} 42%{transform:scale(.88)} 72%{transform:scale(1.08)} 100%{transform:scale(1)} }
.tool-icon-enter { animation: tool-icon-enter .22s ease-out; }
@keyframes tool-icon-enter { from{opacity:0;transform:scale(.72) rotate(-8deg)} to{opacity:1;transform:scale(1)} }

.article-body { color: var(--body); font-size: 16px; line-height: 1.72; }
.article-body > :first-child { margin-top: 0; }
.article-body p { margin: 0 0 20px; }
.article-body h2 { margin: 42px 0 12px; color: var(--text); font-size: 23px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.article-body h3 { margin: 28px 0 8px; color: var(--text); font-size: 17px; line-height: 1.35; font-weight: 700; letter-spacing: -.015em; }
.article-body strong { color: var(--text); font-weight: 650; }
.article-body em { color: #62626d; font-style: italic; }
.dark .article-body em { color: #c9c9d1; }
.article-body a { color: #6d5dfc; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(109,93,252,.25); text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.article-body a:hover { color: #c73794; text-decoration-color: rgba(199,55,148,.45); }
.dark .article-body a { color: #a99cfb; text-decoration-color: rgba(169,156,251,.3); }
.dark .article-body a:hover { color: #f3a1d3; text-decoration-color: rgba(243,161,211,.45); }
.article-body ul, .article-body ol { margin: 14px 0 24px; padding-left: 1.35rem; }
.article-body li { margin-top: 7px; padding-left: .2rem; }
.article-body li::marker { color: #8b86a7; }
.dark .article-body li::marker { color: #8f8aa9; }
.article-body code { border: 1px solid rgba(24,24,27,.08); border-radius: 6px; background: rgba(244,244,245,.82); padding: .08rem .38rem; color: #3f3f46; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .88em; }
.dark .article-body code { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.055); color: #e4e4e7; }
.article-body pre { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; background: #111114; padding: 16px 18px; color: #e4e4e7; line-height: 1.55; }
.article-body pre code { border: 0; background: transparent; padding: 0; color: inherit; }
.article-body blockquote { margin: 24px 0; border-left: 3px solid #d4d4d8; padding: 4px 0 4px 18px; color: #71717a; }
.dark .article-body blockquote { border-left-color: #52525b; color: #a1a1aa; }
.article-body hr { margin: 38px 0; border: 0; border-top: 1px solid var(--line); }
.article-body img { display: block; max-width: 100%; height: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 14px; background: #fafafa; }
.dark .article-body img { background: rgba(255,255,255,.025); }

.callout { position: relative; display: flex; align-items: center; gap: 14px; overflow: hidden; margin: 28px 0; border: 1px solid; border-radius: 12px; padding: 18px 20px 18px 24px; }
.callout::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; }
.callout-icon { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; margin-top: 0; border-radius: 8px; }
.callout-icon svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.callout-content { flex: 1; min-width: 0; }
.callout-title { margin: 0 0 3px; color: var(--text); font-size: 14px; font-weight: 700; }
.callout-body { color: #60606b; font-size: 14px; line-height: 1.65; }
.dark .callout-body { color: #d1d1d8; }
.article-body .callout-body > * {
  margin-top: 0;
  margin-bottom: 0;
}
.article-body .callout-body > * + * {
  margin-top: 8px;
}
.callout-note, .callout-tip, .callout-important { border-color: rgba(196,181,253,.8); background: linear-gradient(118deg, #f8f6ff 0%, #faf7ff 48%, #fff8fc 100%); }
.callout-note::before, .callout-tip::before, .callout-important::before { background: linear-gradient(180deg, var(--brand-violet), var(--brand-pink) 58%, var(--brand-orange)); }
.callout-note .callout-icon, .callout-tip .callout-icon, .callout-important .callout-icon { background: #ede9fe; color: #7c3aed; }
.callout-warning, .callout-caution { border-color: rgba(253,230,138,.9); background: linear-gradient(118deg, #fff9eb 0%, #fff8ee 48%, #fff6ef 100%); }
.callout-warning::before, .callout-caution::before { background: linear-gradient(180deg, #f59e0b, #f97316 58%, #f43f5e); }
.callout-warning .callout-icon, .callout-caution .callout-icon { background: #fef3c7; color: #b45309; }
.dark .callout-note, .dark .callout-tip, .dark .callout-important { border-color: rgba(139,92,246,.30); background: linear-gradient(118deg, rgba(124,95,230,.20), rgba(151,85,218,.17) 52%, rgba(194,72,174,.14)); }
.dark .callout-warning, .dark .callout-caution { border-color: rgba(245,158,11,.30); background: linear-gradient(118deg, rgba(217,144,24,.20), rgba(224,118,31,.17) 52%, rgba(210,84,62,.14)); }
.dark .callout-note .callout-icon, .dark .callout-tip .callout-icon, .dark .callout-important .callout-icon { background: rgba(139,92,246,.12); color: #c4b5fd; }
.dark .callout-warning .callout-icon, .dark .callout-caution .callout-icon { background: rgba(245,158,11,.12); color: #fcd34d; }

.article-table-wrap { margin: 22px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; }
.article-body th { background: rgba(248,248,249,.88); padding: 10px 13px; color: #62626d; text-align: left; font-weight: 650; border-bottom: 1px solid var(--line); }
.article-body td { padding: 11px 13px; color: #52525b; vertical-align: top; border-bottom: 1px solid rgba(24,24,27,.065); }
.article-body tr:last-child td { border-bottom: 0; }
.dark .article-body th { background: rgba(255,255,255,.04); color: #d4d4d8; }
.dark .article-body td { color: #c4c4cc; border-bottom-color: rgba(255,255,255,.06); }

.article-footer {
  margin-top: 64px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.footer-nav-card {
  display: flex;
  min-height: 80px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(228,228,231,.8);
  border-radius: 12px;
  background: rgba(250,250,250,.45);
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.footer-nav-card:hover {
  border-color: #d4d4d8;
  background: #fafafa;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(24,24,27,.035);
}
.dark .footer-nav-card { border-color: rgba(255,255,255,.075); background: rgba(255,255,255,.02); }
.dark .footer-nav-card:hover { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.04); box-shadow: none; }
.footer-nav-label { color: #a1a1aa; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.footer-nav-title { margin-top: 6px; color: #3f3f46; font-size: 13.5px; font-weight: 650; }
.dark .footer-nav-title { color: #d4d4d8; }
.footer-nav-next { text-align: right; }
.mobile-header { display: none; }
.mobile-drawer-layer { position: fixed; inset: 0; z-index: 60; }
.mobile-drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.30); backdrop-filter: blur(4px); }
.mobile-help-sidebar { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; width: min(88%, 384px); border-right: 1px solid rgba(228,228,231,.7); box-shadow: 0 24px 70px rgba(0,0,0,.18); background: linear-gradient(165deg, rgba(255,255,255,.985), rgba(247,248,252,.975)); }
.mobile-help-sidebar::after { display: none; }
.dark .mobile-help-sidebar { border-right-color: rgba(255,255,255,.08); background: linear-gradient(165deg, rgba(18,18,22,.99), rgba(10,10,14,.99)); }
.mobile-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; }
.mobile-drawer-title { font-size: 20px; font-weight: 650; letter-spacing: -.03em; }
.mobile-drawer-search { padding: 0 16px 16px; }
.mobile-help-sidebar .search-trigger { margin-top: 0; }
.mobile-help-sidebar .sidebar-nav { padding-bottom: 24px; }
.drawer-enter { transition: transform .20s ease-out, opacity .20s ease-out; }
.drawer-enter-start { transform: translateX(-100%); opacity: .5; }
.drawer-enter-end { transform: translateX(0); opacity: 1; }
.drawer-leave { transition: transform .15s ease-in, opacity .15s ease-in; }
.drawer-leave-start { transform: translateX(0); opacity: 1; }
.drawer-leave-end { transform: translateX(-100%); opacity: .5; }

.search-layer { position: fixed; inset: 0; z-index: 80; }
.search-backdrop { position: absolute; inset: 0; background: transparent; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.dark .search-backdrop { background: rgba(0,0,0,.55); }
.search-position { position: relative; width: calc(100% - 32px); max-width: 640px; margin: 10vh auto 0; }
.search-modal { overflow: hidden; border: 1px solid rgba(228,228,231,.9); border-radius: 16px; background: #fff; box-shadow: 0 28px 80px rgba(24,24,27,.22); }
.dark .search-modal { border-color: rgba(255,255,255,.10); background: #111114; }
.search-input-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(228,228,231,.8); padding: 0 16px; }
.dark .search-input-row { border-bottom-color: rgba(255,255,255,.08); }
.search-input-row svg { width: 19px; height: 19px; flex: none; fill: none; stroke: #a1a1aa; stroke-width: 1.8; }
.search-input-row input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.search-input-row input::placeholder { color: #a1a1aa; }
.dark .search-input-row input::placeholder { color: #52525b; }
.esc-button { border: 1px solid #e4e4e7; border-radius: 6px; background: #fafafa; padding: 5px 8px; color: #a1a1aa; cursor: pointer; font-size: 10px; font-weight: 700; }
.dark .esc-button { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: #71717a; }
.search-results { max-height: 55vh; overflow-y: auto; padding: 8px; }
.search-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 12px; padding: 12px; text-decoration: none; transition: background .15s; }
.search-result:hover { background: rgba(244,244,245,.8); }
.dark .search-result:hover { background: rgba(255,255,255,.055); }
.search-result-text { min-width: 0; }
.search-result-text strong { display: block; overflow: hidden; color: #3f3f46; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.dark .search-result-text strong { color: #e4e4e7; }
.search-result-text span { display: block; margin-top: 2px; color: #a1a1aa; font-size: 11px; font-weight: 600; }
.dark .search-result-text span { color: #52525b; }
.search-arrow { color: #d4d4d8; transition: transform .15s, color .15s; }
.search-result:hover .search-arrow { transform: translateX(2px); color: #71717a; }
.search-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 40px 16px; color: #a1a1aa; text-align: center; font-size: 12px; }
.search-empty strong { color: #52525b; font-size: 13px; }
.dark .search-empty strong { color: #d4d4d8; }
.search-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(228,228,231,.7); padding: 10px 16px; color: #a1a1aa; font-size: 10.5px; font-weight: 600; }
.dark .search-footer { border-top-color: rgba(255,255,255,.07); color: #52525b; }
.search-enter { transition: transform .15s ease-out, opacity .15s ease-out; }
.search-enter-start { transform: translateY(-8px) scale(.985); opacity: 0; }
.search-enter-end { transform: none; opacity: 1; }
.search-leave { transition: transform .10s ease-in, opacity .10s ease-in; }
.search-leave-start { transform: none; opacity: 1; }
.search-leave-end { transform: translateY(-5px) scale(.99); opacity: 0; }

@media (max-width: 1023px) {
  :root { --sidebar-width: 0px; }
  .desktop-sidebar { display: none; }
  .page-main { margin-left: 0; }
  .mobile-header { position: sticky; top: 0; z-index: 45; display: flex; height: 56px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); padding: 0 12px; backdrop-filter: blur(18px); }
  .dark .mobile-header { background: rgba(9,9,11,.95); }
  .mobile-icon-button { width: 36px; height: 36px; border-radius: 8px; }
  .mobile-icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .mobile-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
  .mobile-logo { width: auto; height: 28px; }
  .mobile-actions { display: flex; align-items: center; gap: 4px; }
  .article-shell { padding: 36px 24px 80px; }
  .article-title { font-size: 40px; }
}

@media (max-width: 620px) {
  .article-title { font-size: 36px; }
  .article-title-row { gap: 14px; }
  .article-tools { gap: 6px; }
  .article-tool { width: 34px; height: 34px; }
  .article-dek { font-size: 16px; }
  .footer-nav-grid { grid-template-columns: 1fr; }
  .footer-nav-next { text-align: left; }
}

/* v7: high-contrast reading palette. Glass surfaces and dark article palette stay intact. */
:root {
  --body: #34343c;
  --muted: #626672;
  --nav-text: #3f3f49;
  --nav-muted: #595c69;
  --secondary-text: #626672;
  --focus: #7053bb;
  --g-paper: #fff;
  --g-soft: #eee9fb;
  --g-accent: #9980db;
  --g-ink: #6b598e;
}
html.dark {
  --body: #d2d2d8;
  --muted: #a6a7b7;
  --nav-text: #c3c3cf;
  --nav-muted: #a4a4b4;
  --secondary-text: #a6a7b7;
  --focus: #b39aee;
  --g-paper: #262431;
  --g-soft: #363045;
  --g-accent: #b29adc;
  --g-ink: #d5c7ed;
}
[hidden] { display: none !important; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 4px;
}
/* This single-purpose modal input uses its caret and the row's neutral separator
 *   for focus, not a second purple rectangle inside the search box. */
.search-input-row input:focus,
.search-input-row input:focus-visible { outline: none; box-shadow: none; }
.search-input-row:focus-within { border-bottom-color: #d4d4d8; }
.dark .search-input-row:focus-within { border-bottom-color: rgba(255,255,255,.13); }
.article-shell:focus, #main-content:focus { outline: 0; }
.article-dek, .article-eyebrow { color: var(--secondary-text); }
.dark .article-dek, .dark .article-eyebrow { color: var(--secondary-text); }
.article-eyebrow a { color: inherit; text-decoration: none; }
.article-eyebrow a:hover { color: var(--text); }
.article-body em { color: inherit; }
.nav-link, .dark .nav-link { color: var(--nav-text); }
.search-trigger, .search-trigger kbd, .search-input-row input::placeholder,
.search-footer, .search-result-text span, .locale-button small { color: var(--secondary-text); }
.search-result-text span { white-space: normal; }
.article-body h2, .article-body h3 { scroll-margin-top: 80px; }
.article-body .callout-body p:last-child, .article-body .callout-body li > p:last-child { margin-bottom: 0; }
.callout-body { color: #50505c; }
.callout-content { min-width: 0; }
.callout-title { line-height: 1.55; }
.article-body .callout-body ul, .article-body .callout-body ol { margin-bottom: 0; }

/* One navigation macro, one shared open/closed state, two responsive locations. */
.sidebar-nav {
  min-height: 0; padding: 2px 16px 24px;
  scrollbar-gutter: stable; overflow-anchor: none; scroll-behavior: auto;
}
.sidebar-nav[data-restoring] .section-chevron { transition: none; }
.nav-home { margin: 2px 0 18px; padding: 10px 12px; font-weight: 600; }
.nav-section { margin: 0 0 5px; }
.nav-section-row { display: flex; align-items: center; gap: 3px; min-height: 38px; }
.nav-section-title {
  flex: 1; min-width: 0; margin: 0; padding: 0; color: var(--nav-text);
  font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; text-transform: none;
}
.dark .nav-section-title { color: var(--nav-text); }
.nav-section-title a { display: block; padding: 9px 10px; border-radius: 7px; text-decoration: none; }
.nav-section-title a:hover { background: rgba(115,105,145,.055); }
/* Section landing pages use the identical ticket path and accent as articles.
 *   The link and the separate expand/collapse button remain distinct targets. */
.nav-section-title a.ticket-nav-active {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; color: var(--text); background: transparent;
}
.nav-section-title a.ticket-nav-active:hover { background: transparent; }
.section-toggle {
  display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px;
  padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--nav-muted); cursor: pointer;
}
.section-toggle:hover { background: rgba(115,105,145,.08); color: var(--text); }
.section-chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .16s ease; }
.section-chevron.is-open { transform: rotate(90deg); }
.nav-articles { margin: 1px 0 12px; padding: 0 2px 0 10px; }
/* Equal row heights prevent selecting a new article from shifting the rows below it. */
.nav-articles .nav-link { font-size: 13px; line-height: 1.5; margin: 2px 0; padding-block: 8px; }
.ticket-nav-active:hover, .dark .ticket-nav-active:hover { background: transparent; }
.ticket-nav-active, .dark .ticket-nav-active { color: var(--text); }
.sidebar-nav.is-scrolling { scrollbar-color: rgba(113,113,122,.28) transparent; }
.sidebar-nav.is-scrolling::-webkit-scrollbar-thumb { background: rgba(113,113,122,.28); }
.no-js .section-toggle, .no-js .search-trigger, .no-js .article-tools,
.no-js .theme-button, .no-js .mobile-actions { display: none; }

/* Topic overview: its own wider canvas, while ordinary articles stay at 840px. */
.directory-shell { width: min(1224px, 100%); margin: 0 auto; padding: 48px 52px 80px; }
.directory-header { margin: 0 0 34px; }
.directory-header .article-dek { max-width: 720px; margin-top: 12px; }
.overview-intro { margin-bottom: 28px; }
.overview-intro:empty { display: none; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card {
  position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start;
  padding: 18px 20px 21px; border: 1px solid rgba(228,228,231,.85); border-radius: 16px;
  background: linear-gradient(145deg, #fff 45%, #fcfbfe); text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.category-card:hover {
  transform: translateY(-2px); border-color: #d9cfe8;
  box-shadow: 0 6px 24px rgba(46,36,63,.045), 0 1px 2px rgba(46,36,63,.02);
}
.dark .category-card { background: linear-gradient(145deg, #111115 45%, #14131a); border-color: rgba(255,255,255,.095); }
.dark .category-card:hover { border-color: rgba(190,168,232,.27); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.category-graphic { width: 83px; height: 69px; margin: 0 0 16px -5px; }
.category-graphic svg, .section-graphic svg { display: block; width: 100%; height: 100%; }
.category-copy { min-width: 0; width: 100%; }
.category-copy h2 { min-height: 42px; margin: 0 0 8px; padding-right: 6px; font-size: 17px; line-height: 1.25; font-weight: 650; letter-spacing: -.025em; color: var(--text); }
.category-copy p { margin: 0; padding-right: 6px; color: var(--secondary-text); font-size: 13px; line-height: 1.6; }
.category-arrow { position: absolute; right: 19px; top: 26px; width: 17px; height: 17px; fill: none; stroke: var(--nav-muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; opacity: .7; }
.category-card:hover .category-arrow { transform: translateX(3px); opacity: 1; }
[data-graphic="events"], [data-graphic="payments"], [data-graphic="check-in"] { --g-soft: #e8effa; --g-accent: #819dd1; --g-ink: #586f93; }
[data-graphic="orders"], [data-graphic="products"], [data-graphic="box-office"] { --g-soft: #f9e9e5; --g-accent: #c98d88; --g-ink: #99615c; }
[data-graphic="seating"], [data-graphic="insights"] { --g-soft: #e3f1ee; --g-accent: #81afa0; --g-ink: #537f74; }
.dark [data-graphic="events"], .dark [data-graphic="payments"], .dark [data-graphic="check-in"] { --g-soft: #293347; --g-accent: #96b6df; --g-ink: #c2d3ec; }
.dark [data-graphic="orders"], .dark [data-graphic="products"], .dark [data-graphic="box-office"] { --g-soft: #402f32; --g-accent: #cd9793; --g-ink: #e4c0b8; }
.dark [data-graphic="seating"], .dark [data-graphic="insights"] { --g-soft: #273a37; --g-accent: #8ebcac; --g-ink: #b1d4c7; }

/* Section pages are generated article lists, never more nested category cards. */
.back-to-topics { display: inline-flex; gap: 8px; align-items: center; }
.back-to-topics svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.section-header { position: relative; margin-top: 24px; margin-bottom: 30px; }
.section-graphic { width: 96px; height: 80px; margin: 0 0 14px -5px; }
.section-header .article-title { max-width: 640px; font-size: 42px; line-height: 1.12; }
.section-intro { margin-bottom: 28px; }
.section-articles { border-top: 1px solid var(--line); }
.section-article-link { display: flex; align-items: center; gap: 24px; justify-content: space-between; padding: 21px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.section-article-link h2 { margin: 0 0 5px; color: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -.012em; }
.section-article-link p { margin: 0; color: var(--secondary-text); font-size: 14px; line-height: 1.7; }
.section-article-link svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: var(--secondary-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.section-article-link:hover h2 { color: var(--focus); }
.section-article-link:hover svg { transform: translateX(3px); }
.section-empty { color: var(--secondary-text); font-size: 14px; padding: 20px 0; }
.footer-nav-next { grid-column: 2; }
.footer-nav-label { color: var(--secondary-text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 12px 20px; border-radius: 9px; }
.skip-link:focus { top: 12px; }
.mobile-drawer-header svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.search-result:focus { background: rgba(115,105,145,.08); }
@media (max-width: 1220px) and (min-width: 1024px) {
  .directory-shell { padding-inline: 36px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .directory-shell { padding: 36px 28px 72px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-help-sidebar { max-height: 100dvh; }
}
@media (max-width: 620px) {
  .directory-shell { padding: 30px 22px 60px; }
  .directory-header { margin-bottom: 28px; }
  .category-grid { grid-template-columns: 1fr; gap: 12px; }
  .category-card { padding: 18px 18px 20px; }
  .category-copy h2 { min-height: 0; margin-bottom: 6px; font-size: 17px; }
  .category-graphic { margin-bottom: 10px; width: 76px; height: 63px; }
  .category-copy p { font-size: 14px; }
  .section-header .article-title { font-size: 36px; }
  .footer-nav-next { grid-column: 1; }
  .article-title-row { flex-wrap: wrap; row-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 620px) {
  .category-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 112px; padding: 17px 30px 17px 14px; }
  .category-graphic { width: 62px; height: 52px; margin: 0 0 0 -4px; }
  .category-copy h2 { font-size: 16px; line-height: 1.3; }
  .category-copy p { font-size: 13px; line-height: 1.55; }
  .category-arrow { width: 14px; height: 14px; right: 12px; top: 50%; transform: translateY(-50%); }
  .category-card:hover .category-arrow { transform: translate(2px, -50%); }
}
