/* =========================================================================
   DOME Help — Louis's own documentation pages, re-skinned to the First
   Porter visual system. Content stays authored in Elementor; this layer
   maps Elementor's default widgets onto the design tokens.
   Scope: body.fp-help (added by the help header injector).
   ========================================================================= */

/* Page surface ----------------------------------------------------------- */
body.fp-site.fp-help {
  background: var(--paper) !important;
  color: var(--carbon) !important;
  --bg: var(--paper);
  --fg: var(--carbon);
  --rule: var(--hair-dark);
}

/* The masthead normally floats over a dark hero. Help pages open on paper,
   so it takes its solid state from the first pixel. */
body.fp-site.fp-help .masthead {
  background: rgba(10, 10, 12, .94) !important;
  border-bottom-color: var(--titanium) !important;
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
}

/* Content shell ---------------------------------------------------------- */
body.fp-site.fp-help .elementor > .e-con > .e-con-inner,
body.fp-site.fp-help .elementor > .e-con.e-con-full {
  max-width: 1140px !important;
  margin-inline: auto !important;
  padding-inline: var(--gutter) !important;
}
body.fp-site.fp-help .elementor > .e-con {
  padding-block: clamp(1rem, 1.6vw, 1.6rem) !important;
}
body.fp-site.fp-help .elementor > .e-con:first-child {
  padding-top: clamp(8.5rem, 11vw, 11rem) !important;
}
body.fp-site.fp-help .elementor > .e-con:last-child {
  padding-bottom: clamp(4rem, 8vw, 7rem) !important;
}

/* Type -------------------------------------------------------------------
   Headings arrive two ways on these pages: as Elementor heading widgets,
   and as h1/h3 authored inside a text-editor widget. Both are covered. */
body.fp-site.fp-help .elementor-widget-heading .elementor-heading-title,
body.fp-site.fp-help .elementor-widget-text-editor h1,
body.fp-site.fp-help .elementor-widget-text-editor h2,
body.fp-site.fp-help .elementor-widget-text-editor h3,
body.fp-site.fp-help .elementor-widget-text-editor h4,
body.fp-site.fp-help .elementor-widget-text-editor h5,
body.fp-site.fp-help .elementor-widget-text-editor h6 {
  font-family: var(--font) !important;
  color: var(--carbon) !important;
  letter-spacing: -.022em !important;
  line-height: 1.14 !important;
}
body.fp-site.fp-help .elementor-widget-heading .elementor-heading-title { margin: 0 !important; }
body.fp-site.fp-help .elementor-widget-text-editor h1,
body.fp-site.fp-help .elementor-widget-text-editor h2,
body.fp-site.fp-help .elementor-widget-text-editor h3,
body.fp-site.fp-help .elementor-widget-text-editor h4,
body.fp-site.fp-help .elementor-widget-text-editor h5,
body.fp-site.fp-help .elementor-widget-text-editor h6 { margin: 2.4rem 0 .7rem !important; }
body.fp-site.fp-help .elementor-widget-text-editor > *:first-child { margin-top: 0 !important; }

body.fp-site.fp-help .elementor-widget-heading h1.elementor-heading-title,
body.fp-site.fp-help .elementor-widget-text-editor h1 { font-size: clamp(2.2rem, 4.4vw, 3rem) !important; font-weight: 600 !important; }
body.fp-site.fp-help .elementor-widget-heading h2.elementor-heading-title,
body.fp-site.fp-help .elementor-widget-text-editor h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem) !important; font-weight: 600 !important; }
body.fp-site.fp-help .elementor-widget-heading h3.elementor-heading-title,
body.fp-site.fp-help .elementor-widget-text-editor h3 { font-size: clamp(1.35rem, 2.2vw, 1.625rem) !important; font-weight: 600 !important; }
body.fp-site.fp-help .elementor-widget-heading h4.elementor-heading-title,
body.fp-site.fp-help .elementor-widget-text-editor h4 { font-size: clamp(1.15rem, 1.8vw, 1.3125rem) !important; font-weight: 600 !important; }

/* The h5 / h6 slots in heading widgets are eyebrows — a mono label, not a
   shrunken headline. (Inside body copy they stay ordinary subheads.) */
body.fp-site.fp-help .elementor-widget-heading h5.elementor-heading-title,
body.fp-site.fp-help .elementor-widget-heading h6.elementor-heading-title {
  font-family: var(--font-mono) !important;
  font-size: .6875rem !important;
  font-weight: 500 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: var(--silver-dim) !important;
  line-height: 1.4 !important;
}

/* Body copy -------------------------------------------------------------- */
body.fp-site.fp-help .elementor-widget-text-editor,
body.fp-site.fp-help .elementor-widget-text-editor p,
body.fp-site.fp-help .elementor-widget-text-editor li,
body.fp-site.fp-help .elementor-widget-text-editor span {
  font-family: var(--font) !important;
  font-size: 1.0625rem !important;
  line-height: 1.72 !important;
  color: var(--fg-2) !important;
}
body.fp-site.fp-help .elementor-widget-text-editor p { margin: 0 0 1.1em !important; }
body.fp-site.fp-help .elementor-widget-text-editor p:last-child { margin-bottom: 0 !important; }
body.fp-site.fp-help .elementor-widget-text-editor strong,
body.fp-site.fp-help .elementor-widget-text-editor b { color: var(--carbon) !important; font-weight: 600 !important; }
body.fp-site.fp-help .elementor-widget-text-editor ul,
body.fp-site.fp-help .elementor-widget-text-editor ol { margin: 0 0 1.1em !important; padding-left: 1.35em !important; }
body.fp-site.fp-help .elementor-widget-text-editor li { margin-bottom: .45em !important; }
body.fp-site.fp-help .elementor-widget-text-editor li::marker { color: var(--silver-dim) !important; }

body.fp-site.fp-help .elementor-widget-text-editor a,
body.fp-site.fp-help .page-content a:not(.elementor-item):not(.btn):not(.elementor-button) {
  color: var(--blue) !important;
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: rgba(44, 49, 150, .35) !important;
  transition: color .3s var(--e-out), text-decoration-color .3s var(--e-out);
}
body.fp-site.fp-help .elementor-widget-text-editor a:hover {
  color: var(--blue-press) !important;
  text-decoration-color: currentColor !important;
}

/* Help sub-navigation ---------------------------------------------------- */
body.fp-site.fp-help .elementor-widget-nav-menu .elementor-nav-menu--main {
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
  padding-block: .35rem;
}
body.fp-site.fp-help .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item {
  font-family: var(--font-mono) !important;
  font-size: .6875rem !important;
  font-weight: 500 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  color: var(--silver-dim) !important;
  padding: .85rem .95rem !important;
  fill: currentColor !important;
  transition: color .3s var(--e-out) !important;
}
body.fp-site.fp-help .elementor-widget-nav-menu .elementor-item:hover,
body.fp-site.fp-help .elementor-widget-nav-menu .elementor-item:focus,
body.fp-site.fp-help .elementor-widget-nav-menu .elementor-item.elementor-item-active,
body.fp-site.fp-help .elementor-widget-nav-menu .current-menu-item > .elementor-item {
  color: var(--blue) !important;
}
body.fp-site.fp-help .elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-item {
  color: var(--carbon) !important;
  background: var(--paper) !important;
}
body.fp-site.fp-help .elementor-menu-toggle {
  color: var(--carbon) !important;
  background: transparent !important;
}

/* Icon list -------------------------------------------------------------- */
body.fp-site.fp-help .elementor-icon-list-item,
body.fp-site.fp-help .elementor-icon-list-text {
  font-family: var(--font) !important;
  font-size: .9375rem !important;
  color: var(--fg-2) !important;
}
body.fp-site.fp-help .elementor-icon-list-icon svg,
body.fp-site.fp-help .elementor-icon-list-icon i { color: var(--blue) !important; fill: var(--blue) !important; }

/* Screenshots — most are pasted straight into the text editor ------------ */
body.fp-site.fp-help .elementor-widget-image img,
body.fp-site.fp-help .elementor-widget-text-editor img {
  max-width: 100% !important;
  height: auto !important;
  border: 1px solid var(--hair-dark) !important;
  border-radius: 3px !important;
  box-shadow: 0 14px 38px rgba(10, 10, 12, .08) !important;
  background: #fff;
}

/* Tables — most are pasted out of Excel and carry inline colours ---------- */
body.fp-site.fp-help .elementor-widget-text-editor table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid var(--hair-dark) !important;
  margin: 1.4rem 0 !important;
  font-family: var(--font) !important;
  font-size: .9375rem !important;
  background: #fff !important;
}
body.fp-site.fp-help .elementor-widget-text-editor thead th,
body.fp-site.fp-help .elementor-widget-text-editor tr:first-child th,
body.fp-site.fp-help .elementor-widget-text-editor tr:first-child td b {
  font-family: var(--font-mono) !important;
}
body.fp-site.fp-help .elementor-widget-text-editor th {
  background: var(--carbon) !important;
  color: var(--paper) !important;
  font-family: var(--font-mono) !important;
  font-size: .6875rem !important;
  font-weight: 500 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  padding: .8rem 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--carbon) !important;
}
body.fp-site.fp-help .elementor-widget-text-editor td {
  padding: .72rem 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hair-dark) !important;
  color: var(--fg-2) !important;
  background: transparent !important;
  vertical-align: top !important;
  line-height: 1.5 !important;
}
body.fp-site.fp-help .elementor-widget-text-editor tbody tr:nth-child(even) td,
body.fp-site.fp-help .elementor-widget-text-editor tr:nth-child(even) td {
  background: rgba(10, 10, 12, .022) !important;
}
body.fp-site.fp-help .elementor-widget-text-editor td b,
body.fp-site.fp-help .elementor-widget-text-editor td strong {
  color: var(--carbon) !important;
  font-weight: 600 !important;
}
body.fp-site.fp-help .elementor-widget-text-editor td a {
  font-family: var(--font-mono) !important;
  font-size: .8125rem !important;
}
body.fp-site.fp-help .elementor-widget-text-editor table td[style],
body.fp-site.fp-help .elementor-widget-text-editor table th[style] {
  font-family: inherit !important;
}

/* Forms left in page content (Elementor form widget) ---------------------- */
body.fp-site.fp-help .page-content .elementor-widget-form .elementor-field-textual {
  background: #fff !important;
  border: 1px solid var(--hair-dark) !important;
  border-radius: 3px !important;
  font-family: var(--font) !important;
  color: var(--carbon) !important;
}
body.fp-site.fp-help .page-content .elementor-widget-form .elementor-button {
  background-color: var(--blue-press) !important;
  border-color: var(--blue-press) !important;
  border-radius: 3px !important;
  font-family: var(--font) !important;
  font-weight: 500 !important;
  color: #fff !important;
}

/* Spacing rhythm between stacked widgets --------------------------------- */
body.fp-site.fp-help .elementor-widget:not(:last-child) { margin-bottom: 1.1rem !important; }
body.fp-site.fp-help .elementor-widget-heading + .elementor-widget-text-editor { margin-top: -.2rem !important; }

/* Selection + focus ring, matched to the rest of the site ---------------- */
body.fp-site.fp-help ::selection { background: rgba(44, 49, 150, .16); color: var(--carbon); }
body.fp-site.fp-help a:focus-visible,
body.fp-site.fp-help button:focus-visible { outline: 2px solid var(--blue) !important; outline-offset: 3px !important; }

/* =========================================================================
   DOME Help index (the section landing page)
   ========================================================================= */
body.fp-site.fp-help .fp-help-index { padding: 0; }

body.fp-site.fp-help .fp-help-index .fp-help-eyebrow {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin: 0 0 1.4rem;
}

body.fp-site.fp-help .fp-help-index .fp-help-title {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.026em;
  color: var(--carbon);
  margin: 0 0 2.6rem;
}

body.fp-site.fp-help .fp-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--hair-dark);
  border: 1px solid var(--hair-dark);
}

body.fp-site.fp-help .fp-help-card {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.6rem 1.5rem;
  background: #fff;
  text-decoration: none !important;
  transition: background-color .35s var(--e-out), color .35s var(--e-out);
}
body.fp-site.fp-help .fp-help-card i {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .6875rem;
  letter-spacing: .1em;
  color: var(--silver-dim);
  transition: color .35s var(--e-out);
}
body.fp-site.fp-help .fp-help-card span {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -.012em;
  color: var(--carbon) !important;
  transition: color .35s var(--e-out);
}
body.fp-site.fp-help .fp-help-card:hover { background: var(--carbon); }
body.fp-site.fp-help .fp-help-card:hover span { color: var(--paper) !important; }
body.fp-site.fp-help .fp-help-card:hover i { color: var(--blue-lift); }
body.fp-site.fp-help .fp-help-card:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

/* Documentation pages are short; the masthead's "dock away near the closing
   CTA" behaviour would leave them with no navigation at all. Pin it. */
body.fp-site.fp-help .masthead.is-docked {
  transform: none !important;
  pointer-events: auto !important;
}

/* Anchor targets clear the fixed masthead. */
body.fp-site.fp-help [id] { scroll-margin-top: 130px; }
