/*
  Help pages (SITE-1449): the /help/ hub, the alert, filter and category pages
  and their indexes, shown inside the TIPro app layout. Loaded only by those
  pages (help_add_assets() in help/controller/help_utilities.php), after
  marketing/assets/css/tokens.css and radar.css. Every rule is scoped to
  .ti-help so the app's sidebar, top bar and dashboard styles are untouched;
  values come from the --ti-* tokens.
  Breakpoints: 1199px (hero stacks), 900px, 768px, 560px.
*/

.ti-help {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 40px 40px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-lg);
  background: var(--ti-bg);
  color: var(--ti-text-subtle);
  font-family: var(--ti-font);
  font-size: var(--ti-fs-xl);
  line-height: var(--ti-lh-body);
  -webkit-font-smoothing: antialiased;
}
.ti-help h1,
.ti-help h2,
.ti-help h3 {
  color: var(--ti-text);
  font-family: var(--ti-font);
  font-weight: var(--ti-fw-black);
  letter-spacing: var(--ti-track-tight);
  line-height: var(--ti-lh-tight);
}
.ti-help p { margin: 0 0 14px; }
.ti-help a { color: var(--ti-amber); text-decoration: underline; text-decoration-color: var(--ti-orange-line); text-underline-offset: 3px; }
.ti-help a:hover { color: var(--ti-text); text-decoration-color: currentColor; }
.ti-help a:focus-visible { outline: 2px solid var(--ti-orange); outline-offset: 2px; }

/* Breadcrumb */
.ti-help .hx-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 20px 0 14px;
  font-size: var(--ti-fs-sm);
  color: var(--ti-muted-dim);
}
.ti-help .hx-crumbs a { color: var(--ti-muted); text-decoration: none; }
.ti-help .hx-crumbs a:hover { color: var(--ti-orange); }
.ti-help .hx-crumbs b { color: var(--ti-text); font-weight: var(--ti-fw-semibold); }

/* ---- Hero: text left, screenshots right ---- */
.ti-help .hx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 34px 36px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-lg);
  background:
    radial-gradient(600px 400px at 100% 100%, var(--ti-green-dim), transparent 70%),
    linear-gradient(180deg, var(--ti-glass-top), var(--ti-glass-bottom));
  box-shadow: var(--ti-shadow);
}
.ti-help .hx-hero--solo { grid-template-columns: minmax(0, 1fr); }
.ti-help .hx-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 14px; }
.ti-help .hx-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius);
  background: var(--ti-card);
}
.ti-help .hx-chip {
  padding: 8px 12px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-sm);
  background: var(--ti-bg);
  color: var(--ti-amber);
  font: var(--ti-fw-black) var(--ti-fs-base) / 1 ui-monospace, Menlo, Consolas, monospace;
}
.ti-help .hx-dir {
  padding: 8px 12px;
  border-radius: var(--ti-radius-pill);
  font-size: var(--ti-fs-xs);
  font-weight: var(--ti-fw-black);
  letter-spacing: var(--ti-track-caps);
  line-height: 1;
  text-transform: uppercase;
}
.ti-help .hx-dir--bull { border: 1px solid var(--ti-border); background: var(--ti-green-dim); color: var(--ti-green-soft); }
.ti-help .hx-dir--bear { border: 1px solid var(--ti-border); background: var(--ti-red-dim); color: var(--ti-red); }
.ti-help .hx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 5px 12px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-pill);
  background: var(--ti-orange-dim);
  color: var(--ti-amber);
  font-size: var(--ti-fs-2xs);
  font-weight: var(--ti-fw-black);
  letter-spacing: var(--ti-track-caps);
  text-transform: uppercase;
}
.ti-help .hx-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ti-orange);
  box-shadow: var(--ti-glow-orange);
}
.ti-help .hx-hero h1 { margin: 0 0 14px; font-size: var(--ti-fs-h2); letter-spacing: var(--ti-track-display); }
.ti-help .hx-by { font-size: var(--ti-fs-sm); color: var(--ti-muted); }
.ti-help .hx-sub { margin: -6px 0 14px; color: var(--ti-text-soft); font-size: var(--ti-fs-h3); font-weight: var(--ti-fw-semibold); }
.ti-help .hl-feel.hl-feel--hero { margin: 14px 0 18px; }
.ti-help .hx-lead { font-size: var(--ti-fs-2xl); color: var(--ti-text-soft); }
.ti-help .hx-feel {
  margin: 16px 0 18px;
  padding: 12px 16px;
  border-left: 4px solid var(--ti-orange);
  border-radius: 0 var(--ti-radius-md) var(--ti-radius-md) 0;
  background: var(--ti-orange-dim);
  color: var(--ti-text);
  font-size: var(--ti-fs-h3);
  font-weight: var(--ti-fw-black);
  line-height: var(--ti-lh-snug);
}
.ti-help .hx-media { display: grid; gap: 14px; }
.ti-help .hx-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius);
  background: var(--ti-text);
  box-shadow: var(--ti-shadow-md);
}
.ti-help .hx-shot img { display: block; width: 100%; height: auto; }
.ti-help .hx-shot figcaption { padding: 8px 12px; background: var(--ti-card); color: var(--ti-muted); font-size: var(--ti-fs-sm); }

/* Buttons (hero and closing band, guests only) */
.ti-help .hx-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ti-help .hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--ti-radius-pill);
  font-size: var(--ti-fs-base);
  font-weight: var(--ti-fw-bold);
  text-decoration: none;
  transition: background var(--ti-dur-fast), border-color var(--ti-dur-fast), box-shadow var(--ti-dur);
}
.ti-help .hx-btn--primary { background: var(--ti-orange); color: var(--ti-on-accent); }
.ti-help .hx-btn--primary:hover { background: var(--ti-orange-hot); color: var(--ti-on-accent); box-shadow: var(--ti-glow-orange); }
.ti-help .hx-btn--secondary { border-color: var(--ti-overlay-4); color: var(--ti-text); }
.ti-help .hx-btn--secondary:hover { border-color: var(--ti-text); color: var(--ti-text); background: var(--ti-overlay-1); }
.ti-help .hx-note { margin: 10px 0 0; font-size: var(--ti-fs-sm); color: var(--ti-muted); }

/* Under the hero: radar band (radar.css), real-time note, how it finds stocks */
.ti-help .hx-realtime {
  max-width: var(--ti-prose);
  padding: 12px 16px;
  border-left: 3px solid var(--ti-green);
  border-radius: 0 var(--ti-radius-sm) var(--ti-radius-sm) 0;
  background: var(--ti-green-dim);
  color: var(--ti-text-soft);
}
.ti-help .hx-how { max-width: var(--ti-prose); }

/* Table of contents */
.ti-help .hx-toc {
  margin: 24px 0 8px;
  padding: 16px 22px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius);
  background: var(--ti-card);
}
.ti-help .hx-toc h2 {
  margin: 0 0 8px;
  color: var(--ti-amber);
  font-size: var(--ti-fs-xs);
  letter-spacing: var(--ti-track-caps);
  text-transform: uppercase;
}
.ti-help .hx-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.ti-help .hx-toc li { margin: 0; padding: 3px 0; font-size: var(--ti-fs-base); break-inside: avoid; }

/* ---- Body: one section per H2 of the content file ---- */
.ti-help .hs { padding: 8px 0 12px; border-top: 1px solid var(--ti-border); }
.ti-help .hs:first-child { border-top: 0; }
.ti-help .hs h2 {
  margin: 28px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--ti-orange);
  font-size: var(--ti-fs-h2);
  scroll-margin-top: 16px;
}
.ti-help .hs h3 { margin: 20px 0 8px; font-size: var(--ti-fs-h3); letter-spacing: var(--ti-track-snug); }
.ti-help .hs p,
.ti-help .hs li { max-width: var(--ti-prose); }
.ti-help .hs ul,
.ti-help .hs ol { margin: 0 0 14px; padding-left: 22px; }
.ti-help .hs li { margin: 6px 0; }
.ti-help .hs li > p { margin: 0; }
.ti-help .hs strong { color: var(--ti-text); }

/* Screenshots and diagrams */
.ti-help .hs img { max-width: 100%; height: auto; }
.ti-help .hx-fig { margin: 18px 0 22px; }
.ti-help .hx-fig img {
  display: block;
  max-width: min(100%, var(--ti-media-max));
  height: auto;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-sm);
  background: var(--ti-text);
}
.ti-help .fx-fig img {
  width: 100%;
  max-width: 640px;
  border-radius: var(--ti-radius);
  background: var(--ti-bg-deep);
  box-shadow: var(--ti-shadow-sm);
}

/* Chart-pattern guides: labelled diagrams two to a row */
.ti-help .gd-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.ti-help .gd-parts h3 { margin-top: 12px; }
.ti-help .gd-parts .fx-fig { margin: 8px 0 12px; }

/* Embedded videos (Vimeo), 16:9 */
.ti-help .hx-video { max-width: var(--ti-media-max); margin: 18px 0 22px; }
.ti-help .hx-vbox { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--ti-border); border-radius: var(--ti-radius-sm); background: var(--ti-bg-deep); }
.ti-help .hx-vbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ti-help .hx-video figcaption { margin-top: 6px; color: var(--ti-muted); font-size: var(--ti-fs-sm); }

/* "Premium" tag next to a filter name */
.ti-help .ti-prem {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-pill);
  background: var(--ti-orange-dim);
  color: var(--ti-amber);
  font-size: var(--ti-fs-2xs);
  font-weight: var(--ti-fw-bold);
  letter-spacing: var(--ti-track-caps-sm);
  vertical-align: middle;
}

/* A plain quote (no bold label) */
.ti-help blockquote:not(.hx-callout) { margin: 8px 0; padding-left: 14px; border-left: 3px solid var(--ti-border-strong); color: var(--ti-text-soft); }

/* "> **Key point**" / "> **Settings**" blockquotes */
.ti-help .hx-callout {
  max-width: var(--ti-prose);
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--ti-orange);
  border-radius: var(--ti-radius-sm);
  background: var(--ti-orange-dim);
  color: var(--ti-text-soft);
}
.ti-help .hx-callout p { margin: 6px 0; }
.ti-help .hx-callout .hx-cl {
  margin: 0 0 4px;
  color: var(--ti-orange);
  font-size: var(--ti-fs-xs);
  letter-spacing: var(--ti-track-caps);
  text-transform: uppercase;
}
.ti-help .hx-callout .hx-cl strong { color: inherit; font-weight: var(--ti-fw-black); }

/* "**Alerts:** [A](..) [B](..)": a label and a row of chips */
.ti-help .hx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: none; }
.ti-help .hx-chips strong { margin-right: 4px; font-size: var(--ti-fs-md); }
.ti-help .hx-chips a {
  padding: 4px 12px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-pill);
  background: var(--ti-card);
  color: var(--ti-text-soft);
  font-size: var(--ti-fs-sm);
  text-decoration: none;
}
.ti-help .hx-chips a:hover { border-color: var(--ti-orange-line); color: var(--ti-text); }

/* Recorded videos and app screenshots with a caption */
.ti-help .hx-media { max-width: var(--ti-media-max); margin: 18px 0 22px; }
.ti-help .hx-media video,
.ti-help .hx-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-sm);
  background: var(--ti-bg-deep);
}
.ti-help .hx-media figcaption { margin-top: 6px; color: var(--ti-muted); font-size: var(--ti-fs-sm); }

/* Category index: each category's title and one line on what it finds */
.ti-help .hx-catlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; margin: 8px 0 0; padding: 0; list-style: none; }
.ti-help .hx-catlist li { margin: 0; max-width: none; }
.ti-help .hx-catlist a { font-weight: var(--ti-fw-bold); }
.ti-help .hx-catlist p { margin: 4px 0 0; color: var(--ti-muted); font-size: var(--ti-fs-base); }

/* Lists of nothing but links (related alerts, pairings, categories) */
.ti-help .hs ul.link-list { columns: 2; column-gap: 28px; }
.ti-help .hs ul.link-list li { break-inside: avoid; }

/* FAQ */
.ti-help .hx-faq {
  max-width: var(--ti-prose);
  margin: 8px 0;
  padding: 0 16px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-sm);
  background: var(--ti-overlay-1);
}
.ti-help .hx-faq > summary {
  position: relative;
  padding: 12px 28px 12px 0;
  cursor: pointer;
  list-style: none;
}
.ti-help .hx-faq > summary::-webkit-details-marker { display: none; }
.ti-help .hx-faq > summary::after {
  content: "+";
  position: absolute;
  top: 8px;
  right: 0;
  color: var(--ti-orange);
  font-size: var(--ti-fs-h3);
  font-weight: var(--ti-fw-bold);
}
.ti-help .hx-faq[open] > summary::after { content: "\2212"; }
.ti-help .hx-faq > summary h3 { display: inline; margin: 0; font-size: var(--ti-fs-xl); letter-spacing: 0; }
.ti-help .hx-faq[open] { padding-bottom: 6px; }

/* Closing band (guests only) */
.ti-help .hx-close {
  margin: 36px 0 0;
  padding: 36px 24px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-lg);
  background: radial-gradient(600px 260px at 50% 0, var(--ti-orange-dim), transparent 70%), var(--ti-card);
  text-align: center;
}
.ti-help .hx-close__title { margin: 0 0 20px; color: var(--ti-text); font-size: var(--ti-fs-h2); font-weight: var(--ti-fw-black); letter-spacing: var(--ti-track-tight); line-height: var(--ti-lh-tight); }
.ti-help .hx-close .hx-btns { justify-content: center; }
.ti-help .hx-buy { margin: 16px 0 0; font-size: var(--ti-fs-md); color: var(--ti-muted); }
.ti-help .hx-missing { margin: 32px 0; }

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .ti-help .hx-hero { grid-template-columns: minmax(0, 1fr); }
  .ti-help .hx-media { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
}
@media (max-width: 900px) {
  .ti-help { padding: 4px 20px 28px; }
  .ti-help .hx-hero { padding: 22px 18px; gap: 20px; }
  .ti-help .hx-toc ol { columns: 1; }
}
@media (max-width: 768px) {
  .ti-help .gd-parts { grid-template-columns: minmax(0, 1fr); }
  .ti-help .hx-catlist { grid-template-columns: minmax(0, 1fr); }
  .ti-help .hx-icon { width: 52px; height: 52px; }
  .ti-help .hx-btns .hx-btn { flex: 1 1 100%; }
  .ti-help .hs ul.link-list { columns: 1; }
}
@media (max-width: 560px) {
  .ti-help { padding: 4px 14px 24px; border-radius: var(--ti-radius); }
  .ti-help .hx-hero { padding: 18px 14px; }
}

/* ==========================================================================
   Alert and filter indexes (help/templates/help_index.php)
   ========================================================================== */

.ti-help [hidden] { display: none !important; }
.ti-help .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ti-help .hl h1 { margin: 0 0 20px; font-size: var(--ti-fs-h1); letter-spacing: var(--ti-track-display); line-height: var(--ti-lh-display); }
.ti-help .hx-accent { color: var(--ti-orange); }

/* Hero: recorded alerts window left, tagline and buttons right */
.ti-help .hl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-lg);
  background:
    radial-gradient(600px 400px at 100% 100%, var(--ti-green-dim), transparent 70%),
    linear-gradient(180deg, var(--ti-glass-top), var(--ti-glass-bottom));
}
.ti-help .hl-hero--solo { grid-template-columns: minmax(0, 1fr); }
.ti-help .hl-video { margin: 0; }
.ti-help .hl-video__stage { position: relative; }
.ti-help .hl-video video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius);
  background: var(--ti-bg-deep);
}
.ti-help .hl-video figcaption { margin-top: 8px; color: var(--ti-muted); font-size: var(--ti-fs-sm); }
.ti-help .hl-pause {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--ti-border);
  border-radius: 50%;
  background: var(--ti-scrim);
  color: var(--ti-text);
  cursor: pointer;
  opacity: 0.85;
}
.ti-help .hl-pause:hover,
.ti-help .hl-pause:focus-visible { opacity: 1; border-color: var(--ti-orange); }
.ti-help .hl-pause:focus-visible { outline: 2px solid var(--ti-orange); outline-offset: 2px; }
.ti-help .hl-pause svg { width: 14px; height: 14px; fill: currentColor; }
.ti-help .hl-line {
  margin: 0 0 20px;
  color: var(--ti-text);
  font-size: var(--ti-fs-h2);
  font-weight: var(--ti-fw-black);
  letter-spacing: var(--ti-track-tight);
  line-height: var(--ti-lh-tight);
}
.ti-help .hl-trust { margin: 14px 0 0; color: var(--ti-muted); font-size: var(--ti-fs-sm); }
.ti-help .hl-lead { max-width: var(--ti-prose); font-size: var(--ti-fs-2xl); color: var(--ti-text-soft); }

/* Search and group links */
.ti-help .hl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 24px 0 14px; }
.ti-help .hl-tools input {
  flex: 1 1 320px;
  padding: 12px 16px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-md);
  background: var(--ti-card);
  color: var(--ti-text);
  font: inherit;
  font-size: var(--ti-fs-lg);
}
.ti-help .hl-tools input::placeholder { color: var(--ti-muted-dim); }
.ti-help .hl-tools input:focus { outline: 2px solid var(--ti-orange); outline-offset: 1px; border-color: var(--ti-orange-line); }
.ti-help .hl-count { color: var(--ti-muted); font-size: var(--ti-fs-md); }
.ti-help .hl-empty { color: var(--ti-muted); }
.ti-help .hl-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ti-help .hl-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-pill);
  background: var(--ti-card);
  color: var(--ti-text-soft);
  font-size: var(--ti-fs-md);
  font-weight: var(--ti-fw-semibold);
  text-decoration: none;
}
.ti-help .hl-nav a:hover { border-color: var(--ti-orange-line); color: var(--ti-text); }
.ti-help .hl-nav img { width: 24px; height: 24px; border-radius: 6px; }
.ti-help .hl-nav span { color: var(--ti-muted-dim); font-weight: var(--ti-fw-medium); }

/* One section per group */
.ti-help .hl-sec { padding: 8px 0 16px; border-top: 1px solid var(--ti-border); }
.ti-help .hl-sec h2 {
  margin: 28px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--ti-orange);
  font-size: var(--ti-fs-h2);
  scroll-margin-top: 16px;
}
.ti-help .hl-feel {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  min-height: 220px;
  margin: 0 0 16px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-lg);
  background: var(--ti-bg-deep);
}
/* The artwork sits at the right of each banner (the left stays dark for the line of text) */
.ti-help .hl-feel__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
/* Illustrations (SVG) show whole, on the right, rather than cropped like photos */
.ti-help .hl-feel__photo[src$=".svg"] { left: auto; width: 60%; object-fit: contain; object-position: right center; }
.ti-help .hl-feel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--ti-scrim-strong) 0%, var(--ti-scrim-soft) 45%, transparent 80%);
}
.ti-help .hl-feel__icon,
.ti-help .hl-feel p { position: relative; z-index: 2; }
.ti-help .hl-feel__icon { flex: none; width: 56px; height: 56px; border-radius: var(--ti-radius-md); }
.ti-help .hl-feel p {
  margin: 0;
  color: var(--ti-text);
  font-size: var(--ti-fs-h2);
  font-weight: var(--ti-fw-black);
  letter-spacing: var(--ti-track-tight);
  line-height: var(--ti-lh-tight);
}
.ti-help .hl-find { max-width: var(--ti-prose); }
.ti-help .hl-xlink { font-size: var(--ti-fs-base); color: var(--ti-muted); }
.ti-help .hl-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; margin: 0 0 18px; }
.ti-help .hl-shots--one { grid-template-columns: minmax(0, 1fr); max-width: var(--ti-media-max); }

/* Cards: one pattern each, chips open each code's page */
.ti-help .hl-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ti-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ti-help .hl-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--ti-border);
  border-left: 3px solid var(--ti-border-strong);
  border-radius: var(--ti-radius-md);
  background: var(--ti-card);
}
.ti-help .hl-card--bull { border-left-color: var(--ti-green); }
.ti-help .hl-card--bear { border-left-color: var(--ti-red); }
.ti-help .hl-card h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--ti-fs-lg); letter-spacing: var(--ti-track-snug); }
.ti-help .hl-card h3 img { flex: none; border-radius: 5px; }
.ti-help .hl-dir { font-size: var(--ti-fs-2xs); font-weight: var(--ti-fw-black); letter-spacing: var(--ti-track-caps); text-transform: uppercase; }
.ti-help .hl-card--bull .hl-dir { color: var(--ti-green-soft); }
.ti-help .hl-card--bear .hl-dir { color: var(--ti-red); }
.ti-help .hl-one { margin: 0; font-size: var(--ti-fs-md); line-height: var(--ti-lh-snug); }
.ti-help .hl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ti-help .hl-chips a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-pill);
  background: var(--ti-bg);
  color: var(--ti-amber);
  font: var(--ti-fw-bold) var(--ti-fs-xs) / 1.4 ui-monospace, Menlo, Consolas, monospace;
  text-decoration: none;
}
.ti-help .hl-chips a:hover { border-color: var(--ti-orange-line); color: var(--ti-text); }
.ti-help .hl-chips em { color: var(--ti-muted); font: normal var(--ti-fw-semibold) var(--ti-fs-2xs) / 1 var(--ti-font); }
.ti-help .hl-card details { font-size: var(--ti-fs-sm); }
.ti-help .hl-card summary { color: var(--ti-muted); cursor: pointer; }
.ti-help .hl-card summary:hover { color: var(--ti-text); }
.ti-help .hl-card details p { margin: 6px 0 0; }
.ti-help .hl-sec--plain ul.link-list { columns: 2; column-gap: 28px; padding-left: 22px; }

@media (max-width: 1199px) {
  .ti-help .hl-hero { grid-template-columns: minmax(0, 1fr); }
  .ti-help .hl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .ti-help .hl-feel { min-height: 180px; padding: 16px; }
  .ti-help .hl-shots { grid-template-columns: minmax(0, 1fr); }
  .ti-help .hl-sec--plain ul.link-list { columns: 1; }
}
@media (max-width: 560px) {
  .ti-help .hl-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Help hub (help/templates/help_hub.php)
   ========================================================================== */

.ti-help .hub-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 22px 0 8px; }
.ti-help .hub-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-lg);
  background: var(--ti-card);
  color: var(--ti-text-subtle);
  text-decoration: none;
}
.ti-help .hub-card:hover { border-color: var(--ti-orange-line); color: var(--ti-text-subtle); }
.ti-help .hub-card__art { aspect-ratio: 920 / 384; overflow: hidden; background: var(--ti-bg-deep); }
.ti-help .hub-card__art video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ti-help .hub-card__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.ti-help .hub-card__n { color: var(--ti-orange); font-size: var(--ti-fs-h2); font-weight: var(--ti-fw-black); line-height: var(--ti-lh-tight); }
.ti-help .hub-card__unit { color: var(--ti-amber); font-size: var(--ti-fs-2xs); font-weight: var(--ti-fw-black); letter-spacing: var(--ti-track-caps); text-transform: uppercase; }
.ti-help .hub-card__t { margin-top: 8px; color: var(--ti-text); font-size: var(--ti-fs-h3); }
.ti-help .hub-card__feel { color: var(--ti-text); font-weight: var(--ti-fw-semibold); }
.ti-help .hub-card__sub { font-size: var(--ti-fs-base); }
.ti-help .hub-card__go { margin-top: 8px; color: var(--ti-amber); font-weight: var(--ti-fw-bold); }

.ti-help .hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ti-gap); margin: 0; padding: 0; list-style: none; }
.ti-help .hub-grid li { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ti-help .hub-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius-md);
  background: var(--ti-card);
  text-decoration: none;
}
.ti-help .hub-tile:hover { border-color: var(--ti-orange-line); }
.ti-help .hub-tile__art { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ti-text); }
.ti-help .hub-tile__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ti-help .hub-tile__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.ti-help .hub-tile__body b { color: var(--ti-amber); font-size: var(--ti-fs-base); }
.ti-help .hub-tile__body span { color: var(--ti-muted); font-size: var(--ti-fs-sm); }
.ti-help .hub-tile__page { font-size: var(--ti-fs-sm); }

@media (max-width: 1199px) {
  .ti-help .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .ti-help .hub-cards { grid-template-columns: minmax(0, 1fr); }
  .ti-help .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
