:root {
  --riq-help-bg: #061014;
  --riq-help-panel: rgba(5, 27, 30, 0.74);
  --riq-help-panel-strong: rgba(5, 45, 45, 0.82);
  --riq-help-card: rgba(9, 42, 44, 0.72);
  --riq-help-card-soft: rgba(13, 68, 64, 0.42);
  --riq-help-border: rgba(94, 234, 212, 0.22);
  --riq-help-border-strong: rgba(110, 231, 183, 0.55);
  --riq-help-text: #ecfeff;
  --riq-help-muted: rgba(207, 250, 254, 0.72);
  --riq-help-soft: rgba(240, 253, 250, 0.92);
  --riq-help-emerald: #10b981;
  --riq-help-mint: #6ee7b7;
  --riq-help-cyan: #22d3ee;
  --riq-help-amber: #fbbf24;
}

html {
  scroll-padding-top: 7rem;
}

.riq-help-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(16, 185, 129, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 16%, rgba(34, 211, 238, 0.12), transparent 30rem),
    linear-gradient(180deg, #061014 0%, #020617 56%, #030712 100%);
  color: var(--riq-help-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.riq-help-page {
  min-height: 100vh;
  overflow-x: clip;
}

.riq-help-skip {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  transform: translateY(-150%);
  border-radius: 0.9rem;
  background: var(--riq-help-mint);
  color: #022c22;
  padding: 0.75rem 1rem;
  font-weight: 900;
  transition: transform 160ms ease;
}

.riq-help-skip:focus {
  transform: translateY(0);
}

.riq-help-main {
  position: relative;
}

.riq-help-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 1rem clamp(2.5rem, 5vw, 4rem);
}

.riq-help-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.riq-help-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.riq-help-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.68;
  animation: riq-help-float 12s ease-in-out infinite;
}

.riq-help-orb--one {
  width: 22rem;
  height: 22rem;
  left: -8rem;
  top: 4rem;
  background: rgba(16, 185, 129, 0.24);
}

.riq-help-orb--two {
  width: 24rem;
  height: 24rem;
  right: -9rem;
  top: 8rem;
  background: rgba(34, 211, 238, 0.16);
  animation-delay: -4s;
}

.riq-help-hero-inner {
  width: min(100%, 78rem);
  margin: 0 auto;
}

.riq-help-kicker,
.riq-help-role-kicker,
.riq-help-sidebar-label {
  margin: 0;
  color: var(--riq-help-mint);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.riq-help-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  border: 1px solid rgba(110, 231, 183, 0.34);
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.22);
  padding: 0.62rem 0.9rem;
  box-shadow: 0 0 42px rgba(16, 185, 129, 0.12);
  backdrop-filter: blur(18px);
}

.riq-help-kicker::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--riq-help-mint);
  box-shadow: 0 0 24px rgba(110, 231, 183, 0.95);
}

.riq-help-hero h1 {
  max-width: 62rem;
  margin: 1.1rem 0 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.riq-help-hero-copy {
  max-width: 58rem;
  margin: 1.3rem 0 0;
  color: var(--riq-help-muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.85;
}

.riq-help-search-wrap {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 48rem);
  margin-top: 2rem;
}

.riq-help-search-wrap label {
  color: rgba(207, 250, 254, 0.76);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.riq-help-search-wrap input {
  width: 100%;
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 1.2rem;
  background: rgba(2, 20, 20, 0.72);
  color: #ecfeff;
  outline: none;
  padding: 1rem 1.1rem;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.riq-help-search-wrap input::placeholder {
  color: rgba(207, 250, 254, 0.45);
}

.riq-help-search-wrap input:focus {
  border-color: rgba(110, 231, 183, 0.72);
  box-shadow:
    0 0 0 4px rgba(16, 185, 129, 0.14),
    0 24px 70px rgba(0, 0, 0, 0.2);
}

.riq-help-shell {
  display: grid;
  width: min(100%, 92rem);
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  margin: 0 auto;
  padding: 0 1rem clamp(4rem, 8vw, 7rem);
}

@media (min-width: 1080px) {
  .riq-help-shell {
    grid-template-columns: 21rem minmax(0, 1fr);
    align-items: start;
  }
}

.riq-help-sidebar {
  position: relative;
  z-index: 20;
}

@media (min-width: 1080px) {
  .riq-help-sidebar {
    position: sticky;
    top: 1.25rem;
  }
}

.riq-help-sidebar-card,
.riq-help-role-panel,
.riq-help-contact {
  border: 1px solid var(--riq-help-border);
  border-radius: 1.65rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(5, 45, 45, 0.82), rgba(2, 20, 20, 0.72));
  box-shadow:
    0 28px 88px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.riq-help-sidebar-card {
  padding: 1rem;
}

.riq-help-sidebar-card + .riq-help-sidebar-card {
  margin-top: 1rem;
}

.riq-help-role-tabs {
  display: grid;
  gap: 0.58rem;
  margin-top: 0.85rem;
}

.riq-help-role-tab {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(94, 234, 212, 0.16);
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.18);
  color: rgba(236, 254, 255, 0.8);
  cursor: pointer;
  padding: 0.85rem 0.9rem;
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.riq-help-role-tab span {
  font-size: 0.95rem;
  font-weight: 950;
}

.riq-help-role-tab small {
  color: rgba(207, 250, 254, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
}

.riq-help-role-tab:hover,
.riq-help-role-tab:focus-visible,
.riq-help-role-tab.is-active {
  transform: translateY(-1px);
  border-color: rgba(110, 231, 183, 0.56);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(135deg, rgba(13, 148, 136, 0.34), rgba(16, 185, 129, 0.2));
  box-shadow: 0 18px 45px rgba(16, 185, 129, 0.12);
  color: #ffffff;
}

.riq-help-sidebar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.riq-help-sidebar-title-row button {
  border: 1px solid rgba(110, 231, 183, 0.26);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--riq-help-mint);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 0.45rem 0.65rem;
}

.riq-help-contents {
  max-height: 44vh;
  margin-top: 0.9rem;
  overflow: auto;
  padding-right: 0.25rem;
  scrollbar-color: rgba(110, 231, 183, 0.55) rgba(255, 255, 255, 0.06);
}

.riq-help-contents div {
  display: grid;
  gap: 0.32rem;
}

.riq-help-contents a,
.riq-help-role-local-nav a {
  display: block;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  color: rgba(207, 250, 254, 0.74);
  font-size: 0.8rem;
  line-height: 1.35;
  padding: 0.56rem 0.65rem;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.riq-help-contents a:hover,
.riq-help-contents a.is-active,
.riq-help-role-local-nav a:hover {
  border-color: rgba(94, 234, 212, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.riq-help-content {
  min-width: 0;
}

.riq-help-role-panel {
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.riq-help-role-panel[hidden] {
  display: none !important;
}

.riq-help-role-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(94, 234, 212, 0.14);
  padding: 0.5rem 0.35rem 1.2rem;
}

.riq-help-role-head h2,
.riq-help-contact h2 {
  margin: 0.45rem 0 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.riq-help-role-head p:not(.riq-help-role-kicker),
.riq-help-contact p {
  max-width: 56rem;
  margin: 0.75rem 0 0;
  color: var(--riq-help-muted);
  line-height: 1.75;
}

.riq-help-role-local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin: 1rem 0 1.15rem;
}

.riq-help-role-local-nav a {
  border-color: rgba(94, 234, 212, 0.16);
  background: rgba(255, 255, 255, 0.045);
  padding: 0.48rem 0.62rem;
}

.riq-help-guide-grid {
  display: grid;
  gap: 0.86rem;
}

.riq-help-guide {
  scroll-margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.08), transparent 14rem),
    rgba(9, 42, 44, 0.6);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.riq-help-guide.is-hidden-by-search {
  display: none;
}

.riq-help-guide-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  padding: 1rem;
  text-align: left;
}

.riq-help-guide-trigger:hover,
.riq-help-guide-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.riq-help-guide-title {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 920;
  line-height: 1.35;
}

.riq-help-guide-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.5rem;
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.13);
  color: var(--riq-help-mint);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.riq-help-guide-toggle {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.055);
  color: var(--riq-help-mint);
  transition: transform 180ms ease, background 180ms ease;
}

.riq-help-guide-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.riq-help-guide-trigger[aria-expanded="true"] .riq-help-guide-toggle {
  transform: rotate(180deg);
  background: rgba(16, 185, 129, 0.16);
}

.riq-help-guide-panel {
  border-top: 1px solid rgba(94, 234, 212, 0.14);
}

.riq-help-guide-body {
  padding: 1rem;
  color: rgba(226, 232, 240, 0.88);
}

.riq-help-guide-body p,
.riq-help-guide-body li {
  color: rgba(226, 232, 240, 0.88);
}

.riq-help-guide-body .text-white {
  color: #ffffff !important;
}

.riq-help-guide-body .text-amber-300 {
  color: #fcd34d !important;
}

.riq-help-guide-body ol,
.riq-help-guide-body ul,
.riq-help-steps {
  margin-top: 0.75rem;
  padding-left: 1.35rem;
}

.riq-help-guide-body li,
.riq-help-steps li {
  margin-top: 0.36rem;
  line-height: 1.7;
}

.riq-help-guide-body img,
.riq-help-media {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  object-fit: contain;
}

.riq-help-guide-body .grid,
.riq-help-guide-body .flex {
  gap: 0.75rem;
}

.riq-help-safe-note {
  margin-top: 0.95rem;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 1rem;
  background: rgba(120, 53, 15, 0.18);
  color: rgba(254, 243, 199, 0.9) !important;
  padding: 0.85rem 0.95rem;
}

.riq-help-mini-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .riq-help-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.riq-help-info-card {
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.055);
  padding: 1rem;
}

.riq-help-info-card h4 {
  margin: 0;
  color: #ffffff;
  font-weight: 950;
}

.riq-help-info-card p,
.riq-help-info-card li {
  color: rgba(226, 232, 240, 0.86);
}

.riq-help-info-card--warn {
  border-color: rgba(251, 191, 36, 0.25);
  background: rgba(120, 53, 15, 0.2);
}

.riq-help-faq-list {
  display: grid;
  gap: 0.7rem;
}

.riq-help-faq-list details {
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.85rem 1rem;
}

.riq-help-faq-list summary {
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
}

.riq-help-faq-list p {
  color: rgba(226, 232, 240, 0.82);
}

.riq-help-contact {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.riq-help-contact a {
  color: var(--riq-help-mint);
  text-decoration: underline;
  text-decoration-color: rgba(110, 231, 183, 0.36);
}

.riq-help-contact-form {
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.045);
  padding: 1rem;
}

.riq-help-form-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 780px) {
  .riq-help-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.riq-help-contact-form label {
  display: grid;
  gap: 0.38rem;
  color: rgba(207, 250, 254, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.riq-help-contact-form input,
.riq-help-contact-form select,
.riq-help-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 0.95rem;
  background: rgba(2, 20, 20, 0.62);
  color: #ffffff;
  outline: none;
  padding: 0.82rem 0.9rem;
}

.riq-help-contact-form input:focus,
.riq-help-contact-form select:focus,
.riq-help-contact-form textarea:focus {
  border-color: rgba(110, 231, 183, 0.62);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.riq-help-form-wide {
  grid-column: 1 / -1;
}

.riq-help-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.riq-help-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: space-between;
}

@media (min-width: 680px) {
  .riq-help-form-actions {
    flex-direction: row;
    align-items: center;
  }
}

.riq-help-checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem !important;
}

.riq-help-checkbox input {
  width: 1rem;
  height: 1rem;
}

.riq-help-form-actions button {
  border: 1px solid rgba(187, 247, 208, 0.54);
  border-radius: 1rem;
  background: linear-gradient(135deg, #bbf7d0, #34d399 52%, #10b981);
  color: #022c22;
  cursor: pointer;
  font-weight: 950;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.18);
}

.riq-help-contact-status {
  min-height: 1.2rem;
  color: var(--riq-help-mint);
  font-weight: 800;
}

.riq-help-contact-status.is-error {
  color: #fca5a5;
}

.riq-help-toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  z-index: 9999;
  transform: translateX(-50%);
}

.riq-help-toast div {
  border: 1px solid rgba(110, 231, 183, 0.34);
  border-radius: 999px;
  background: rgba(2, 20, 20, 0.86);
  color: #ecfeff;
  padding: 0.72rem 1rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.riq-help-footer {
  position: relative;
  z-index: 1;
}

@keyframes riq-help-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.15rem, -1rem, 0) scale(1.04);
  }
}

@media (max-width: 640px) {
  .riq-help-role-local-nav {
    display: none;
  }

  .riq-help-hero {
    padding-top: 3rem;
  }

  .riq-help-guide-trigger {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .riq-help-orb,
  .riq-help-role-tab,
  .riq-help-guide-toggle,
  .riq-help-sidebar-title-row button {
    animation: none !important;
    transition: none !important;
  }
}
html {
  min-height: 100%;
  background: #020617;
}

body.riq-help-body {
  min-height: 100vh;
  background: #020617 !important;
  color: var(--riq-help-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.riq-help-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 4%, rgba(16, 185, 129, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 16%, rgba(34, 211, 238, 0.12), transparent 30rem),
    linear-gradient(180deg, #061014 0%, #020617 56%, #030712 100%);
  background-repeat: no-repeat;
  background-size: cover;
}
