/* palette-exception: semantic-state: Amber identifies incomplete work or items that require attention. */
.rhc {
  --rhc-ink: var(--riko-ink);
  --rhc-muted: var(--riko-muted);
  --rhc-line: var(--riko-line);
  --rhc-line-strong: var(--riko-line-strong);
  --rhc-soft: var(--riko-surface-soft);
  --rhc-primary: var(--riko-action);
  --rhc-primary-dark: var(--riko-action-hover);
  --rhc-accent: var(--riko-action);
  --rhc-warning: var(--riko-warning);
  --rhc-warning-bg: var(--riko-warning-surface);
  --rhc-error: var(--riko-danger);
  color: var(--rhc-ink);
  margin-inline: auto;
  max-width: none;
  min-width: 0;
  padding: 0 0 24px;
}

.rhc *,
.rhc *::before,
.rhc *::after {
  box-sizing: border-box;
}

.rhc [hidden] {
  display: none !important;
}

.rhc h1,
.rhc h2,
.rhc h3,
.rhc h4 {
  color: var(--rhc-ink);
  line-height: 1.2;
  margin-block: 0 0.6em;
}

.rhc p {
  line-height: 1.65;
}

.rhc-faq__image img {
  display: block;
  height: auto;
  max-width: min(100%, 64rem);
}

.rhc a {
  color: var(--rhc-primary);
  text-underline-offset: 0.16em;
}

.rhc a:hover {
  color: var(--rhc-primary-dark);
}

.rhc a:focus-visible,
.rhc button:focus-visible,
.rhc input:focus-visible,
.rhc textarea:focus-visible,
.rhc select:focus-visible,
.rhc summary:focus-visible,
.rhc [tabindex]:focus-visible {
  outline: 3px solid var(--riko-focus) !important;
  outline-offset: 2px;
}

.rhc__intro {
  background: url("/media/templates/site/rikoooo/images/home-airframe.svg") right center / auto 380px no-repeat, linear-gradient(110deg, var(--riko-brand-deep) 15%, var(--riko-brand));
  border: 1px solid color-mix(in srgb, var(--riko-line-strong) 69.8%, transparent);
  border-radius: 16px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--riko-brand-deep) 12.16%, transparent);
  color: var(--riko-on-brand);
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.rhc__intro::before {
  background: linear-gradient(90deg, var(--riko-brand-soft) 0%, color-mix(in srgb, var(--riko-brand-soft) 14.9%, transparent) 72%, transparent 100%);
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
}

.rhc__intro h1,
#tm-content .rhc .rhc__intro h1 {
  color: var(--riko-on-brand) !important;
  font-size: clamp(30px, 2.5vw, 40px) !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.65rem;
  max-width: 50rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
}

.rhc__intro > p:not(.rhc__eyebrow),
#tm-content .rhc .rhc__intro > p:not(.rhc__eyebrow) {
  color: color-mix(in srgb, var(--riko-on-brand) 87.84%, transparent);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  max-width: 50rem;
}

.rhc__eyebrow,
.rhc-result__category {
  color: var(--rhc-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.rhc__intro .rhc__eyebrow,
#tm-content .rhc .rhc__intro .rhc__eyebrow {
  color: var(--riko-on-brand-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 0.7rem;
}

.rhc-search {
  background: var(--riko-surface);
  border: 1px solid color-mix(in srgb, var(--riko-line) 92.16%, transparent);
  border-radius: 0.5rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--riko-brand-deep) 16.08%, transparent);
  margin-top: 1.5rem;
  max-width: none;
  padding: 16px;
}

.rhc-search > label,
.rhc-assistant form > label,
.rhc-context label,
.rhc-feedback form label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.4rem;
}

.rhc-search > label,
#tm-content .rhc .rhc-search > label {
  color: var(--rhc-ink);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.rhc-search__controls {
  align-items: stretch;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.rhc input,
.rhc textarea,
.rhc select {
  background: var(--riko-surface);
  border: 1px solid var(--riko-action-line);
  border-radius: 8px;
  color: var(--rhc-ink);
  font: inherit;
  line-height: 1.35;
  max-width: 100%;
  padding: 0.72rem 0.8rem;
  width: 100%;
}

.rhc textarea {
  resize: vertical;
}

.rhc-search input {
  flex: 1 1 auto;
  font-size: 1rem;
  min-width: 0;
}

.rhc-search__controls > input,
#tm-content .rhc .rhc-search__controls > input {
  background: var(--riko-surface) !important;
  border: 1px solid var(--riko-action-line) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--riko-action) 80%, transparent) !important;
  color: var(--rhc-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  min-height: 48px;
  padding: 11px 13px;
  width: 100%;
}

.rhc-search__controls > input:focus,
#tm-content .rhc .rhc-search__controls > input:focus {
  border-color: var(--riko-action-line) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--riko-action) 18.04%, transparent) !important;
}

.rhc button,
.rhc-search button,
.rhc .rhc-result__link {
  align-items: center;
  background: var(--rhc-primary);
  border: 1px solid var(--rhc-primary);
  border-radius: 8px;
  color: var(--riko-action-contrast);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 650;
  justify-content: center;
  line-height: 1.25;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.rhc-search__controls > button,
#tm-content .rhc .rhc-search__controls > button {
  background-color: var(--riko-action) !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 3px 8px color-mix(in srgb, var(--riko-action) 12.16%, transparent) !important;
  color: var(--riko-action-contrast);
  flex: 0 0 auto;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1;
  min-height: 48px;
  min-width: 160px;
  overflow-wrap: normal;
  padding: 12px 20px !important;
  text-shadow: none;
  white-space: nowrap;
  word-break: normal;
}

.rhc-search__controls > button:hover,
.rhc-search__controls > button:focus,
#tm-content .rhc .rhc-search__controls > button:hover,
#tm-content .rhc .rhc-search__controls > button:focus {
  background-color: var(--riko-action-hover) !important;
  background-image: none !important;
  border-color: transparent;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--riko-action) 16.08%, transparent) !important;
  color: var(--riko-action-contrast);
}

.rhc button:hover,
.rhc .rhc-result__link:hover {
  background: var(--rhc-primary-dark);
  border-color: var(--rhc-primary-dark);
  color: var(--riko-action-contrast);
}

.rhc button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.rhc .rhc-button--secondary {
  background: var(--riko-surface);
  border-color: var(--riko-action-line);
  color: var(--rhc-ink);
}

.rhc .rhc-button--secondary:hover {
  background: var(--rhc-soft);
  border-color: var(--rhc-muted);
  color: var(--rhc-ink);
}

.rhc .rhc-button--plain {
  background: transparent;
  border-color: transparent;
  color: var(--rhc-primary);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.rhc .rhc-button--plain:hover {
  background: var(--rhc-soft);
  color: var(--rhc-primary-dark);
}

.rhc__hint {
  color: var(--rhc-muted);
  font-size: 0.9rem;
  margin: 0.45rem 0 0;
}

.rhc-search .rhc__hint,
#tm-content .rhc .rhc-search .rhc__hint {
  color: var(--riko-muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 0.5rem;
}

.rhc__sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.rhc-results {
  margin: 24px auto 0;
  max-width: none;
}

.rhc-section-heading {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-inline: 0;
}

.rhc-section-heading h2,
#tm-content .rhc .rhc-section-heading h2 {
  color: var(--rhc-ink);
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}

.rhc-loader {
  animation: rhc-spin 0.8s linear infinite;
  border: 3px solid var(--rhc-line);
  border-radius: 50%;
  border-top-color: var(--rhc-primary);
  height: 1.25rem;
  width: 1.25rem;
}

@keyframes rhc-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .rhc-loader { animation: none; }
}

.rhc-results__list {
  display: grid;
  gap: 16px;
}

.rhc-result {
  align-items: center;
  background: color-mix(in srgb, var(--riko-surface) 92.16%, transparent);
  border: 1px solid var(--rhc-line);
  border-radius: 16px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--riko-brand-deep) 5.1%, transparent);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 24px;
}

.rhc-result:hover,
.rhc-result:focus-within {
  border-color: var(--rhc-line-strong);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--riko-action) 7.84%, transparent);
}

.rhc-result__body {
  min-width: 0;
}

.rhc-result h3,
#tm-content .rhc .rhc-result h3 {
  color: var(--rhc-ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.35;
  margin: 0 0 0.35rem;
}

.rhc-result__body > p:not(.rhc-result__category),
#tm-content .rhc .rhc-result__body > p:not(.rhc-result__category) {
  color: var(--riko-text);
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.55;
  margin: 0.4rem 0;
  max-width: 72ch;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rhc-result__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.rhc-result__category,
#tm-content .rhc .rhc-result__category {
  color: var(--rhc-primary) !important;
  font-size: 12px;
  font-weight: 700;
}

.rhc-result__meta,
#tm-content .rhc .rhc-result__meta {
  color: var(--rhc-muted);
  font-size: 12.5px;
}

.rhc .rhc-result__link {
  background: var(--riko-surface-soft);
  border: 1px solid color-mix(in srgb, var(--riko-brand) 25.88%, transparent);
  border-radius: 0.5rem;
  box-shadow: none;
  color: var(--rhc-primary);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  justify-self: end;
  min-height: 44px;
  min-width: 9.5rem;
  overflow-wrap: normal;
  padding: 0.65rem 1rem;
  white-space: nowrap;
  word-break: normal;
}

.rhc .rhc-result__link::after {
  content: "\2192";
  font-size: 1.05em;
  margin-left: 0.55rem;
}

.rhc .rhc-result__link:hover,
.rhc .rhc-result__link:focus {
  background: var(--rhc-primary);
  border-color: var(--rhc-primary);
  color: var(--riko-action-contrast);
}

.rhc-result__meta li + li::before {
  color: var(--riko-muted);
  content: "•";
  margin-right: 1rem;
}

.rhc-empty {
  background: var(--rhc-soft);
  border-radius: 0.35rem;
  color: var(--rhc-muted);
  padding: 1rem;
}

.rhc-search-error {
  margin: 1rem 0 0;
}

.rhc-assistant-availability {
  border-left: 3px solid var(--rhc-primary);
  color: var(--rhc-primary-dark);
  font-weight: 650;
  margin: 24px auto 0;
  max-width: none;
  padding: 0.55rem 0.8rem;
}

.rhc-assistant {
  border-top: 3px solid var(--rhc-primary);
  margin: 24px auto 0;
  max-width: none;
  padding-top: 24px;
}

.rhc-assistant__heading {
  align-items: end;
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 1fr);
}

.rhc-assistant__heading > p {
  color: var(--rhc-muted);
}

/* palette-exception: semantic-state: State indicators retain their operational meaning independently of the brand palette. */
.rhc-notice {
  background: var(--riko-surface-soft);
  border-left: 4px solid var(--rhc-primary);
  padding: 0.85rem 1rem;
}

.rhc-notice--warning {
  background: var(--rhc-warning-bg);
  border-color: var(--rhc-warning);
  color: var(--rhc-warning);
}

/* palette-exception: semantic-state: Red identifies destructive actions, validation failures or blocked operations. */
.rhc-notice--error {
  background: var(--riko-danger-surface);
  border-color: var(--rhc-error);
  color: var(--rhc-error);
}

/* palette-exception: semantic-state: Amber identifies incomplete work or items that require attention. */
.rhc-notice--legacy {
  background: var(--riko-warning-surface);
  border-color: var(--riko-warning);
  color: var(--riko-warning);
  margin-top: 1.5rem;
}

/* palette-exception: semantic-state: Amber identifies incomplete work or items that require attention. */
.rhc-sensitive-warning {
  background: var(--rhc-warning-bg);
  border-left: 4px solid var(--rhc-warning);
  color: var(--riko-warning);
  font-size: 0.92rem;
  margin: 0 0 0.65rem;
  padding: 0.7rem 0.85rem;
}

.rhc-context {
  border: 1px solid var(--rhc-line);
  border-radius: 0.35rem;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
}

.rhc-context summary {
  color: var(--rhc-primary);
  cursor: pointer;
  font-weight: 650;
}

.rhc-context__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.rhc-context__wide {
  grid-column: 1 / -1;
}

.rhc-actions,
.rhc-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.rhc-assistant__response {
  background: var(--rhc-soft);
  border: 1px solid var(--rhc-line);
  border-radius: 0.35rem;
  margin-top: 1.25rem;
  padding: 1.2rem;
}

.rhc-assistant__answer {
  line-height: 1.7;
  white-space: pre-wrap;
}

.rhc-result,
.rhc-faq__question,
.rhc-faq__answer,
.rhc-assistant__response,
.rhc-sources,
.rhc-result__meta {
  overflow-wrap: anywhere;
}

.rhc-faq {
  margin-inline: auto;
  max-width: 58rem;
}

.rhc-back {
  margin-bottom: 1.5rem;
}

.rhc-faq__article {
  border-bottom: 1px solid var(--rhc-line);
  padding-bottom: 2rem;
}

.rhc-faq__header {
  border: 1px solid var(--rhc-line);
  border-left: 3px solid var(--rhc-primary);
  border-radius: 16px;
  background: linear-gradient(100deg, var(--riko-surface-soft) 25%, color-mix(in srgb, var(--riko-surface-soft) 78.82%, transparent)), url("/media/templates/site/rikoooo/images/home-navigation.svg") right center / auto 280px no-repeat;
  margin-bottom: 24px;
  padding: 24px;
}

.rhc-faq__header h1 {
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 750;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.rhc-faq h2,
#tm-content .rhc-faq h2 {
  font-size: 26px;
  font-weight: 750;
  line-height: 1.2;
}

.rhc-translations {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 0.35rem 0.8rem;
  margin-top: 0.9rem;
}

.rhc-translations span {
  color: var(--rhc-muted);
}

.rhc-faq__question,
.rhc-faq__answer,
.rhc-sources {
  margin-top: 1.75rem;
}

.rhc-faq__answer > div,
.rhc-faq__answer li {
  line-height: 1.75;
}

.rhc-faq__answer img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.rhc-faq__answer :is(ul, ol) {
  padding-left: 1.5rem;
}

.rhc-faq__answer li + li {
  margin-top: 0.35rem;
}

.rhc-faq__answer blockquote {
  border-left: 4px solid var(--rhc-line);
  color: var(--rhc-muted);
  margin: 1.25rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
}

.rhc-faq__answer code {
  background: var(--riko-surface-soft);
  border-radius: 0.2rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  padding: 0.12em 0.3em;
}

.rhc-faq__answer pre {
  background: var(--riko-brand-deep);
  border-radius: 0.35rem;
  color: var(--riko-on-brand-muted);
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem;
  white-space: pre;
}

.rhc-faq__answer pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.rhc-faq__answer table {
  border-collapse: collapse;
  display: block;
  margin-block: 1.25rem;
  max-width: 100%;
  overflow-x: auto;
}

.rhc-faq__answer :is(th, td) {
  border: 1px solid var(--rhc-line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.rhc-faq__answer th {
  background: var(--rhc-soft);
}

/* Legacy screenshot comparisons retain their reading order on narrow screens. */
.rhc-faq__answer table:has(img):not(:has(th)) {
  display: table;
  table-layout: fixed;
  width: 100%;
}

@media (max-width: 42rem) {
  .rhc-faq__answer table:has(img):not(:has(th)),
  .rhc-faq__answer table:has(img):not(:has(th)) :is(tbody, tr, td) {
    display: block;
    width: 100%;
  }

  .rhc-faq__answer table:has(img):not(:has(th)) td + td { margin-top: 0.75rem; }
}

.rhc-sources ul,
.rhc-sources__list {
  padding-left: 1.3rem;
}

.rhc-sources li + li,
.rhc-sources__list li + li {
  margin-top: 0.4rem;
}

.rhc-feedback {
  margin-top: 2rem;
}

.rhc-feedback form {
  border-top: 1px solid var(--rhc-line);
  margin-top: 1rem;
  max-width: 38rem;
  padding-top: 1rem;
}

.rhc-feedback form label + label {
  margin-top: 0.85rem;
}

@media (max-width: 52rem) {
  .rhc-result {
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .rhc .rhc-result__link {
    justify-self: start;
  }
}

@media (max-width: 42rem) {
  .rhc-search__controls,
  .rhc-assistant__heading {
    display: block;
  }

  .rhc-search button,
  .rhc-result__link,
  #tm-content .rhc .rhc-search__controls > button {
    margin-top: 0.6rem;
    min-width: 0;
    width: 100%;
  }

  .rhc-context__grid {
    grid-template-columns: 1fr;
  }

  .rhc-context__wide {
    grid-column: auto;
  }

  .rhc-result__meta {
    display: block;
  }

  .rhc-result__meta li + li::before {
    content: none;
  }

  .rhc-result__meta li + li {
    margin-top: 0.25rem;
  }
}

@media (max-width: 30rem) {
  .rhc {
    padding-inline: 0;
  }

  .rhc__intro,
  .rhc-faq__header,
  .rhc-result {
    border-radius: 12px;
    padding: 16px;
  }

  .rhc-search {
    padding: 12px;
  }

  .rhc-section-heading h2,
  #tm-content .rhc .rhc-section-heading h2 {
    font-size: 27px;
  }

  .rhc-faq h2,
  #tm-content .rhc-faq h2 {
    font-size: 24px;
  }

  .rhc-assistant__response {
    padding-inline: 1rem;
  }

  .rhc-actions > button,
  .rhc-feedback__actions > button {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (forced-colors: active) {
  .rhc__intro,
  .rhc-faq__header {
    background: Canvas;
    color: CanvasText;
    border-color: CanvasText;
  }

  .rhc__intro::before { display: none; }

  #tm-content .rhc .rhc__intro :is(h1, p) { color: CanvasText !important; }

  #tm-content .rhc .rhc-search__controls > button,
  #tm-content .rhc .rhc-search__controls > button:hover {
    background: ButtonFace !important;
    border: 1px solid ButtonText !important;
    color: ButtonText !important;
  }
}

/* The private form retains a quiet heading; browsing has a distinct search header. */
html body #tm-content .rhc--contact .rhc__intro {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--rhc-ink);
  overflow: visible;
  padding: 0;
}

.rhc--contact .rhc__intro::before { display: none; }

html body #tm-content .rhc--contact .rhc__intro h1 {
  color: var(--rhc-ink) !important;
  font-size: clamp(28px, 2.8vw, 36px) !important;
  text-shadow: none;
}

html body #tm-content .rhc.rhc--contact .rhc__intro > p:not(.rhc__eyebrow) {
  color: var(--riko-text);
  max-width: 50rem;
}

html body #tm-content .rhc--landing .rhc__intro {
  padding: clamp(20px, 2.5vw, 36px);
  border-color: var(--riko-brand);
  box-shadow: none;
}

/* Authored support scenes use shared brand colours; the right side stays visible. */
@media screen and (forced-colors: none) {
  :root body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
    --ambience-photo: url("/media/rikoooo/aviation/optimized/helpcenter-crew-preflight-wide.webp?v=4c1fc4ba74da");
    --ambience-photo-position: center top;
    --ambience-photo-size: cover;
    background-color: var(--riko-brand-deep);
    background-image: linear-gradient(90deg, color-mix(in srgb, var(--riko-brand-deep) 94%, transparent) 0%, color-mix(in srgb, var(--riko-brand-deep) 90%, transparent) 46%, color-mix(in srgb, var(--riko-brand-deep) 20%, transparent) 78%), var(--ambience-photo) !important;
    background-size: cover, var(--ambience-photo-size) !important;
    background-position: center, var(--ambience-photo-position) !important;
    background-repeat: no-repeat !important;
  }
  :root[data-riko-palette="forest"] body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
    --ambience-photo: url("/media/rikoooo/aviation/optimized/helpcenter-astra-mission-support-wide.webp?v=d914b58b5a0d");
  }
  html body #tm-content .rhc.rhc--landing > header.rhc__intro > p,
  html body #tm-content .rhc--landing .rhc-search {
    max-width: 58%;
  }
  @media (max-width: 64rem) {
    :root body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
      --ambience-photo-position: right top;
      --ambience-photo-size: auto 240px;
      background-image: linear-gradient(180deg, color-mix(in srgb, var(--riko-brand-deep) 20%, transparent), var(--riko-brand-deep) 240px), var(--ambience-photo) !important;
      padding-top: 170px;
    }
    html body #tm-content .rhc.rhc--landing > header.rhc__intro > p,
    html body #tm-content .rhc--landing .rhc-search {
      max-width: none;
    }
  }
}

html body #tm-content .rhc--landing .rhc__intro h1 {
  color: var(--riko-inverse) !important;
  margin: 0 0 0.6rem;
  text-shadow: none;
}

html body #tm-content .rhc.rhc--landing .rhc__intro > p {
  color: var(--riko-inverse);
  max-width: 50rem;
  margin: 0;
}

html body #tm-content .rhc--landing .rhc-search {
  background: var(--riko-surface);
  border: 1px solid var(--riko-line);
  border-radius: 12px;
  box-shadow: none;
  margin: 1.5rem 0 0;
  padding: 20px;
}

html body #tm-content .rhc--landing .rhc-search > label {
  font-size: 15px;
}

html body #tm-content .rhc--landing .rhc-search__controls > input {
  border-color: var(--riko-line-strong) !important;
  box-shadow: none !important;
  min-height: 52px;
  font-size: 16px;
  font-weight: 400;
}

html body #tm-content .rhc--landing .rhc-search__controls > input:focus {
  border-color: var(--riko-focus) !important;
}

html body #tm-content .rhc--landing .rhc-search__controls > button {
  min-height: 52px;
  box-shadow: none !important;
}

.rhc-help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  grid-template-areas: "guides contact";
  align-items: start;
  gap: 2rem;
  margin-top: 2rem;
}

.rhc-help-main { grid-area: guides; min-width: 0; }

.rhc-help-paths {
  grid-area: contact;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
}

.rhc-help-paths > div {
  min-width: 0;
  padding: 1.35rem;
  background: var(--riko-surface);
  border: 1px solid var(--riko-line);
  border-radius: 14px;
}

.rhc-help-paths > .rhc-help-paths__private {
  background: var(--riko-action-soft);
  border-color: var(--riko-action-line);
}

html body #tm-content .rhc .rhc-help-paths h2 {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 0.65rem;
}

.rhc-help-paths p {
  color: var(--riko-text);
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0 0 0.85rem;
}

.rhc-help-paths a,
.rhc-contact__heading > a {
  align-items: center;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 600;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.rhc-help-paths__links {
  display: grid;
}

.rhc-help-paths__links > a {
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.6rem;
  border-top: 1px solid var(--riko-line);
  color: var(--riko-link);
}

.rhc-help-paths__links > a::after {
  content: "\2192";
  text-decoration: none;
}

html body #tm-content .rhc-help-paths .rhc-help-paths__contact {
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--riko-action);
  color: var(--riko-action-contrast);
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
}

html body #tm-content .rhc-help-paths .rhc-help-paths__contact:hover {
  background: var(--riko-action-hover);
}

.rhc-contact {
  border-bottom: 1px solid var(--rhc-line);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  scroll-margin-top: 6rem;
}

.rhc-contact__heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: space-between;
}

html body #tm-content .rhc .rhc-contact__heading h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0;
}

.rhc-contact__intro {
  color: var(--rhc-muted);
  margin: 0.5rem 0 1.4rem;
  max-width: 52rem;
}

@media (max-width: 64rem) {
  .rhc-help-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "contact" "guides"; gap: 1.5rem; }
  .rhc-help-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 42rem) {
  .rhc-help-layout { margin-top: 1.5rem; }
  .rhc-help-paths { grid-template-columns: minmax(0, 1fr); }
  html body #tm-content .rhc--landing .rhc__intro { padding: 18px; }
  html body #tm-content .rhc--landing .rhc-search { padding: 14px; }
  html body #tm-content .rhc--landing .rhc-search > label { font-size: 14px; }
  .rhc-contact__heading { display: block; }
  .rhc-contact { scroll-margin-top: 1rem; }
  html body #tm-content .rhc-contact :is(input[type="text"], input[type="email"], select, textarea) {
    font-size: 16px;
  }
}

/* Search recovery and concise FAQ provenance share normal text navigation. */
.rhc-search__reset {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
  margin-top: 0.25rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.rhc-search__reset[hidden] { display: none; }
.rhc-faq__provenance {
  border-block: 1px solid var(--rhc-line);
  margin-top: 1.5rem;
  padding-block: 0.35rem;
}
.rhc-faq__provenance > summary {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  min-height: 44px;
  padding-block: 0.65rem;
  color: var(--rhc-primary-dark);
  font-weight: 600;
}
.rhc-faq__provenance > summary::after {
  content: "";
  flex: 0 0 0.45rem;
  height: 0.45rem;
  margin-right: 0.25rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.rhc-faq__provenance[open] > summary::after { transform: rotate(225deg); }
.rhc-faq__provenance .rhc-notice--legacy { margin: 0.3rem 0 1rem; }
.rhc--unified .rhc-contact { margin-top: 1.4rem; }
.rhc.rhc--contact { max-width: none; padding-bottom: 0; }
@media (max-width: 42rem) {
  html body #tm-content .rhc .rhc-search__controls > input { font-size: 16px; }
}

/* Topic index: native disclosures keep the complete documentation usable without JavaScript. */
.rhc-guide-library { margin-block: 1.8rem; }
.rhc-guide-library__intro { color: var(--rhc-muted, var(--riko-text)); margin: .45rem 0 1.1rem; }
.rhc-guide-group { border-bottom: 1px solid var(--riko-line); }
.rhc-guide-group:first-of-type { border-top: 1px solid var(--riko-line); }
.rhc-guide-group > summary { display: flex; align-items: center; gap: .8rem; padding: 1.05rem .2rem; cursor: pointer; list-style: none; }
.rhc-guide-group > summary::-webkit-details-marker { display: none; }
.rhc-guide-group__name { flex: 1; min-width: 0; font-weight: 700; color: var(--riko-ink); overflow-wrap: anywhere; }
.rhc-guide-group__count { font-size: .82rem; color: var(--riko-text); white-space: nowrap; }
.rhc-guide-group__chevron { width: .55rem; height: .55rem; border-right: 2px solid var(--riko-brand); border-bottom: 2px solid var(--riko-brand); transform: rotate(45deg); margin: 0 .35rem .25rem; flex-shrink: 0; }
.rhc-guide-group[open] .rhc-guide-group__chevron { transform: rotate(225deg); margin-bottom: -.2rem; }
.rhc-guide-group > summary:focus-visible { outline: 3px solid var(--riko-focus); outline-offset: 3px; border-radius: 4px; }
.rhc-guide-group__description { margin: 0 .2rem 1rem; color: var(--riko-text); }
.rhc-guide-group > ul { list-style: none; padding: 0; margin: 0 .2rem 1rem; }
.rhc-guide-group li { padding: .75rem 0; border-top: 1px solid var(--riko-line); }
.rhc-guide-group li > a { font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
.rhc-guide-group li > p { margin: .3rem 0 0; font-size: .92rem; line-height: 1.55; color: var(--riko-text); }

/* A single topic index keeps the reading order stable when a group opens. */
.rhc--landing .rhc-guide-library { margin: 0; }
html body #tm-content .rhc--landing .rhc-guide-library > h2,
html body #tm-content .rhc--landing .rhc-section-heading > h2 {
  margin: 0;
  color: var(--riko-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.rhc--landing .rhc-guide-library__intro { margin: 0.5rem 0 1.25rem; color: var(--riko-text); }
.rhc-guide-library__groups {
  background: var(--riko-surface);
  border: 1px solid var(--riko-line);
  border-radius: 14px;
}
.rhc--landing .rhc-guide-group { border-top: 0; border-radius: 0; }
.rhc--landing .rhc-guide-group:first-child { border-radius: 14px 14px 0 0; }
.rhc--landing .rhc-guide-group:last-child { border-bottom: 0; border-radius: 0 0 14px 14px; }
.rhc--landing .rhc-guide-group > summary { min-height: 64px; padding: 1rem 1.15rem; border-radius: inherit; }
.rhc--landing .rhc-guide-group > summary:hover,
.rhc--landing .rhc-guide-group[open] { background: var(--riko-surface-soft); }
.rhc--landing .rhc-guide-group__count {
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  background: var(--riko-surface-soft);
  color: var(--riko-text);
  font-size: 12px;
}
.rhc--landing .rhc-guide-group[open] > summary { border-bottom: 1px solid var(--riko-line); }
.rhc--landing .rhc-guide-group__description { margin: 1rem 1.15rem; }
.rhc--landing .rhc-guide-group > ul { margin: 0 1.15rem 1rem; }
.rhc--landing .rhc-guide-group li > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--riko-link); }
.rhc--landing .rhc-guide-group li { padding: 0.5rem 0; }
.rhc--landing .rhc-guide-group li:first-child { border-top: 0; }
.rhc--landing .rhc-results { margin-top: 0; }
@media (max-width: 42rem) {
  .rhc--landing .rhc-guide-group > summary { gap: 0.5rem; padding-inline: 0.85rem; }
  .rhc--landing .rhc-guide-group__name { font-size: 15px; }
  .rhc--landing .rhc-guide-group__count { padding-inline: 0.35rem; }
}
@media (forced-colors: active) {
  html body #tm-content .rhc--landing .rhc__intro { background: Canvas; border-color: CanvasText; }
  html body #tm-content .rhc--landing .rhc__intro :is(h1, p) { color: CanvasText !important; }
  html body #tm-content .rhc-help-paths .rhc-help-paths__contact { border: 1px solid ButtonText; background: ButtonFace; color: ButtonText; }
}
@media (max-width: 480px) {
  .rhc-guide-group > summary { gap: .6rem; }
  .rhc-guide-group__count { font-size: .75rem; }
}

/* Background delivery: same photographs and framing, bounded decode sizes.
   WebP/original fallback; one AVIF candidate when it is smaller. */
@media screen and (max-width: 980px) {
@media screen and (forced-colors: none) {
  :root body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
    --ambience-photo: url("/media/rikoooo/aviation/optimized/helpcenter-crew-preflight-mobile.webp?v=3f11054d5dc6");
  }
}

@media screen and (forced-colors: none) {
  :root[data-riko-palette="forest"] body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
    --ambience-photo: url("/media/rikoooo/aviation/optimized/helpcenter-astra-mission-support-mobile.webp?v=87e79b58b97a");
  }
}
}

@supports (background-image: image-set(url("data:,") type("image/avif"))) {
@media screen and (forced-colors: none) {
  :root body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
    --ambience-photo: image-set(url("/media/rikoooo/aviation/optimized/helpcenter-crew-preflight-wide.avif?v=aa2becb25c46") type("image/avif"), url("/media/rikoooo/aviation/optimized/helpcenter-crew-preflight-wide.webp?v=4c1fc4ba74da") type("image/webp"));
  }
}

@media screen and (forced-colors: none) {
  :root[data-riko-palette="forest"] body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
    --ambience-photo: image-set(url("/media/rikoooo/aviation/optimized/helpcenter-astra-mission-support-wide.avif?v=96d66269006f") type("image/avif"), url("/media/rikoooo/aviation/optimized/helpcenter-astra-mission-support-wide.webp?v=d914b58b5a0d") type("image/webp"));
  }
}
}

@supports (background-image: image-set(url("data:,") type("image/avif"))) {
@media screen and (max-width: 980px) {
@media screen and (forced-colors: none) {
  :root body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
    --ambience-photo: image-set(url("/media/rikoooo/aviation/optimized/helpcenter-crew-preflight-mobile.avif?v=cd7f378f5d5b") type("image/avif"), url("/media/rikoooo/aviation/optimized/helpcenter-crew-preflight-mobile.webp?v=3f11054d5dc6") type("image/webp"));
  }
}

@media screen and (forced-colors: none) {
  :root[data-riko-palette="forest"] body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
    --ambience-photo: image-set(url("/media/rikoooo/aviation/optimized/helpcenter-astra-mission-support-mobile.avif?v=72dcc0cfcff7") type("image/avif"), url("/media/rikoooo/aviation/optimized/helpcenter-astra-mission-support-mobile.webp?v=87e79b58b97a") type("image/webp"));
  }
}
}
}


/* The central dark role owns both night sizes; daylight and Astra retain their scenes. */
@media screen and (forced-colors: none) {
  :root[data-riko-mode="dark"]:is(:not([data-riko-palette]), [data-riko-palette="default"]) body #tm-content .rhc.rhc--landing:not(.rhc--contact) > header.rhc__intro {
    --ambience-photo: var(--riko-ambience-help-image);
  }
}
