/* Ruang Maslahat Stage 5.44.50 — bantuan kontekstual, tur awal, dan kamus istilah. */
:root {
  --rm5450-navy: #10293d;
  --rm5450-teal: #0f766e;
  --rm5450-teal-dark: #0b5f59;
  --rm5450-ink: #17384d;
  --rm5450-muted: #607684;
  --rm5450-line: #dce7eb;
  --rm5450-soft: #f1f8f7;
  --rm5450-surface: #ffffff;
  --rm5450-focus: rgba(15, 118, 110, .22);
}

html.rm5450-help-open,
html.rm5450-tour-open {
  overflow: hidden !important;
}

.rm5450-help-root,
.rm5450-help-root * {
  box-sizing: border-box;
}

/* Help is outside #app. Share the map's startup gate so it cannot
   flash ahead of Lapor while the welcome screen or map shell is loading. */
html:not(.webgis-map-controls-ready) body.rm-page-map #rm5450HelpRoot,
html:not([data-webgis-welcome-complete="1"]) body.rm-page-map #rm5450HelpRoot,
html body.rm-page-map:not(.rm527-role-ready) #rm5450HelpRoot,
html body.rm-page-map.rm-map-preboot #rm5450HelpRoot {
  visibility: hidden !important;
  pointer-events: none !important;
}

.rm5450-help-root button,
.rm5450-help-root input,
.rm5450-help-root a {
  font: inherit;
}

.rm5450-help-launcher {
  position: fixed;
  z-index: 1100;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 46px;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rm5450-navy), var(--rm5450-teal));
  box-shadow: 0 12px 30px rgba(7, 29, 47, .24), 0 0 0 1px rgba(16, 41, 61, .1);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.rm5450-help-launcher svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rm5450-help-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(7, 29, 47, .28), 0 0 0 1px rgba(16, 41, 61, .1);
}

.rm5450-help-launcher:focus-visible,
.rm5450-help-root button:focus-visible,
.rm5450-help-root input:focus-visible,
.rm5450-help-root a:focus-visible {
  outline: 3px solid var(--rm5450-focus);
  outline-offset: 3px;
}

.rm5450-help-backdrop {
  position: fixed;
  z-index: 2147481000;
  inset: 0;
  opacity: 0;
  background: rgba(7, 25, 39, .52);
  transition: opacity .2s ease;
}

.rm5450-help-backdrop.is-open {
  opacity: 1;
}

.rm5450-help-drawer {
  position: fixed;
  z-index: 2147481100;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(430px, 100vw);
  min-width: 0;
  overflow: hidden;
  color: var(--rm5450-ink);
  background: var(--rm5450-surface);
  border-left: 1px solid rgba(16, 41, 61, .12);
  box-shadow: -24px 0 60px rgba(7, 29, 47, .2);
  transform: translateX(104%);
  visibility: hidden;
  transition: transform .24s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .24s;
}

.rm5450-help-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .24s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

.rm5450-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
  padding: 14px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b2235 0%, #123c4e 58%, #0f766e 100%);
}

.rm5450-help-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rm5450-help-brand > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
}

.rm5450-help-brand svg,
.rm5450-icon-button svg,
.rm5450-help-foot svg,
.rm5450-primary-action svg,
.rm5450-first-visit svg,
.rm5450-search svg,
.rm5450-term-toggle > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rm5450-help-brand div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rm5450-help-brand small {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
}

.rm5450-help-brand strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.15;
}

.rm5450-icon-button {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.rm5450-help-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rm5450-line);
  background: #f7fafb;
}

.rm5450-help-tabs button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--rm5450-muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.rm5450-help-tabs button[aria-selected="true"] {
  border-color: rgba(15, 118, 110, .18);
  color: var(--rm5450-teal-dark);
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(16, 41, 61, .06);
}

.rm5450-help-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.rm5450-tab-panel {
  padding: 16px;
}

.rm5450-tab-panel[hidden] {
  display: none !important;
}

.rm5450-context-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fcfb 0%, #eef8f6 100%);
}

.rm5450-context-card::after {
  position: absolute;
  right: -46px;
  bottom: -64px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(15, 118, 110, .055);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.rm5450-context-badge,
.rm5450-glossary-intro > span,
.rm5450-section-head > span,
.rm5450-tour-copy > span {
  display: inline-flex;
  color: var(--rm5450-teal-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.rm5450-context-card h2,
.rm5450-glossary-intro h2 {
  position: relative;
  z-index: 1;
  margin: 8px 0 8px;
  color: var(--rm5450-navy);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.rm5450-context-card > p,
.rm5450-glossary-intro > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--rm5450-muted);
  font-size: 14px;
  line-height: 1.65;
}

.rm5450-primary-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 9px;
  margin-top: 16px;
  padding: 0 15px;
  border: 1px solid var(--rm5450-teal);
  border-radius: 12px;
  color: #ffffff;
  background: var(--rm5450-teal);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.rm5450-primary-action:hover {
  border-color: var(--rm5450-teal-dark);
  background: var(--rm5450-teal-dark);
}

.rm5450-help-section {
  padding: 22px 2px 4px;
}

.rm5450-section-head h3 {
  margin: 4px 0 0;
  color: var(--rm5450-navy);
  font-size: 17px;
  line-height: 1.3;
}

.rm5450-guide-steps {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.rm5450-guide-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  min-height: 48px;
  padding: 4px 0 12px;
}

.rm5450-guide-steps li:not(:last-child)::after {
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 1px;
  background: #d5e5e3;
  content: '';
}

.rm5450-guide-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #cce2df;
  border-radius: 11px;
  color: var(--rm5450-teal-dark);
  background: var(--rm5450-soft);
  font-size: 12px;
  font-weight: 900;
}

.rm5450-guide-steps p {
  margin: 5px 0 0;
  color: #3f5868;
  font-size: 14px;
  line-height: 1.55;
}

.rm5450-safety-note {
  margin-top: 14px;
  padding: 14px 15px;
  border-left: 3px solid #d49a31;
  border-radius: 0 12px 12px 0;
  background: #fff9ed;
}

.rm5450-safety-note strong {
  display: block;
  color: #7a4b09;
  font-size: 13px;
}

.rm5450-safety-note p {
  margin: 5px 0 0;
  color: #765f3b;
  font-size: 13px;
  line-height: 1.55;
}

.rm5450-glossary-intro {
  padding: 4px 2px 14px;
}

.rm5450-search {
  position: sticky;
  z-index: 2;
  top: -1px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 34px;
  align-items: center;
  min-height: 48px;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0 8px 0 13px;
  border: 1px solid #cfdde2;
  border-radius: 13px;
  color: #70838f;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 5px 14px rgba(16, 41, 61, .06);
}

.rm5450-search:focus-within {
  border-color: var(--rm5450-teal);
  box-shadow: 0 0 0 3px var(--rm5450-focus);
}

.rm5450-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--rm5450-ink);
  background: transparent;
  font-size: 14px;
}

.rm5450-search input::placeholder {
  color: #8495a0;
}

.rm5450-search button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #647b88;
  background: transparent;
  cursor: pointer;
}

.rm5450-search button svg {
  width: 17px;
  height: 17px;
}

.rm5450-glossary-results {
  display: grid;
  gap: 8px;
}

.rm5450-term {
  overflow: hidden;
  border: 1px solid var(--rm5450-line);
  border-radius: 13px;
  background: #ffffff;
}

.rm5450-term[hidden] {
  display: none !important;
}

.rm5450-term-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  gap: 12px;
  padding: 9px 12px 9px 14px;
  border: 0;
  color: var(--rm5450-ink);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.rm5450-term-toggle:hover {
  background: #f8fbfb;
}

.rm5450-term-toggle > span {
  display: grid;
  gap: 3px;
}

.rm5450-term-toggle small {
  color: #718793;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.rm5450-term-toggle strong {
  color: var(--rm5450-navy);
  font-size: 14px;
}

.rm5450-term-toggle > svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #66808d;
  transition: transform .16s ease;
}

.rm5450-term-toggle[aria-expanded="true"] > svg {
  transform: rotate(90deg);
}

.rm5450-term-detail {
  padding: 0 14px 14px;
  border-top: 1px solid #edf2f4;
}

.rm5450-term-detail[hidden] {
  display: none !important;
}

.rm5450-term-detail p {
  margin: 12px 0 8px;
  color: #395364;
  font-size: 14px;
  line-height: 1.6;
}

.rm5450-term-detail span {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: #42635f;
  background: var(--rm5450-soft);
  font-size: 12px;
  line-height: 1.5;
}

.rm5450-glossary-empty {
  padding: 34px 18px;
  border: 1px dashed #ccdbe0;
  border-radius: 14px;
  text-align: center;
  background: #fafcfd;
}

.rm5450-glossary-empty strong {
  color: var(--rm5450-navy);
  font-size: 14px;
}

.rm5450-glossary-empty p {
  margin: 6px 0 0;
  color: var(--rm5450-muted);
  font-size: 13px;
  line-height: 1.5;
}

.rm5450-help-foot {
  display: grid;
  gap: 8px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rm5450-line);
  background: #f7fafb;
}

.rm5450-help-foot > a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid #d6e4e7;
  border-radius: 12px;
  color: var(--rm5450-teal-dark);
  background: #ffffff;
  text-decoration: none;
}

.rm5450-help-foot > a > span {
  display: grid;
  gap: 2px;
}

.rm5450-help-foot strong {
  color: var(--rm5450-ink);
  font-size: 13px;
}

.rm5450-help-foot small {
  color: #718590;
  font-size: 11px;
}

.rm5450-help-foot > span {
  color: #8898a1;
  font-size: 10px;
  text-align: center;
}

.rm5450-help-foot > .rm-about-help-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rm5450-first-visit {
  position: fixed;
  z-index: 44010;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: calc(146px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  width: min(340px, calc(100vw - 28px));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 17px;
  color: var(--rm5450-ink);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 29, 47, .2);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}

.rm5450-first-visit[hidden] {
  display: none !important;
}

.rm5450-first-visit.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rm5450-invite-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--rm5450-teal-dark);
  background: var(--rm5450-soft);
}

.rm5450-first-visit > div {
  min-width: 0;
  padding-right: 18px;
}

.rm5450-first-visit strong {
  display: block;
  color: var(--rm5450-navy);
  font-size: 14px;
}

.rm5450-first-visit p {
  margin: 4px 0 11px;
  color: var(--rm5450-muted);
  font-size: 13px;
  line-height: 1.45;
}

.rm5450-first-visit > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rm5450-first-visit > div button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d6e3e6;
  border-radius: 10px;
  color: #4b6472;
  background: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.rm5450-first-visit > div button:first-child {
  border-color: var(--rm5450-teal);
  color: #ffffff;
  background: var(--rm5450-teal);
}

.rm5450-invite-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #718590;
  background: transparent;
  cursor: pointer;
}

.rm5450-invite-close svg {
  width: 17px;
  height: 17px;
}

.rm5450-tour-layer {
  position: fixed;
  z-index: 2147482000;
  inset: 0;
  opacity: 0;
  transition: opacity .16s ease;
}

.rm5450-tour-layer[hidden] {
  display: none !important;
}

.rm5450-tour-layer.is-open {
  opacity: 1;
}

.rm5450-tour-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 19, 30, .2);
}

.rm5450-tour-spotlight {
  position: fixed;
  z-index: 1;
  border: 3px solid #65d5c7;
  border-radius: 15px;
  background: transparent;
  box-shadow: 0 0 0 9999px rgba(5, 19, 30, .7), 0 0 0 6px rgba(101, 213, 199, .16);
  pointer-events: none;
  transition: left .2s ease, top .2s ease, width .2s ease, height .2s ease;
}

.rm5450-tour-card {
  position: fixed;
  z-index: 2;
  max-width: calc(100vw - 36px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  color: var(--rm5450-ink);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(3, 15, 24, .36);
}

.rm5450-tour-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid #e4ecef;
  background: #f5f9f9;
}

.rm5450-tour-progress span {
  color: var(--rm5450-teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.rm5450-tour-progress button {
  min-height: 30px;
  padding: 0 7px;
  border: 0;
  color: #5c7280;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.rm5450-tour-copy {
  padding: 17px 17px 15px;
}

.rm5450-tour-copy h2 {
  margin: 6px 0 7px;
  color: var(--rm5450-navy);
  font-size: 19px;
  line-height: 1.25;
}

.rm5450-tour-copy p {
  margin: 0;
  color: #506977;
  font-size: 14px;
  line-height: 1.6;
}

.rm5450-tour-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 17px 17px;
}

.rm5450-tour-actions button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d5e2e6;
  border-radius: 11px;
  color: #4b6472;
  background: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.rm5450-tour-actions button:last-child {
  border-color: var(--rm5450-teal);
  color: #ffffff;
  background: var(--rm5450-teal);
}

.rm5450-tour-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .rm5450-help-launcher {
    right: max(10px, env(safe-area-inset-right, 0px));
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    min-width: 46px;
    width: 46px;
    height: 46px;
    padding: 0;
  }

  .rm5450-help-launcher > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .rm5450-help-drawer {
    width: 100vw;
    border-left: 0;
  }

  .rm5450-help-head {
    min-height: 68px;
    padding: 10px 12px 10px 14px;
  }

  .rm5450-help-brand > span {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .rm5450-tab-panel {
    padding: 14px;
  }

  .rm5450-context-card {
    padding: 17px;
  }

  .rm5450-context-card h2,
  .rm5450-glossary-intro h2 {
    font-size: 19px;
  }

  .rm5450-first-visit {
    right: 10px;
    bottom: calc(134px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 20px);
  }

  .rm5450-tour-card {
    left: 12px !important;
    right: 12px;
    width: auto !important;
    max-width: none;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .rm5450-help-launcher {
    bottom: 14px;
  }

  .rm5450-first-visit {
    bottom: 72px;
  }

  .rm5450-help-head {
    min-height: 62px;
  }

  .rm5450-help-foot {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm5450-help-launcher,
  .rm5450-help-backdrop,
  .rm5450-help-drawer,
  .rm5450-first-visit,
  .rm5450-tour-layer,
  .rm5450-tour-spotlight,
  .rm5450-term-toggle > svg {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .rm5450-help-launcher,
  .rm5450-primary-action,
  .rm5450-first-visit > div button:first-child,
  .rm5450-tour-actions button:last-child {
    border: 2px solid ButtonText;
  }

  .rm5450-tour-spotlight {
    border: 4px solid Highlight;
  }
}

/* Stage 5.44.60 — compact side panel with the same map margins as Analysis. */
html.rm5450-help-open { overflow: initial !important; }
.rm5450-help-backdrop { display: none !important; }
html body .rm5450-help-drawer {
  top: 84px; right: 18px; bottom: 18px; width: min(390px, calc(100vw - 36px));
  max-height: calc(100dvh - 102px); border: 1px solid #dce7eb; border-radius: 20px;
  z-index: 50045; box-shadow: 0 20px 60px #10293d29; font-size: 12px;
}
.rm5450-help-head { min-height: 68px; padding: 12px 14px; gap: 10px; }
.rm5450-help-brand { gap: 9px; }
.rm5450-help-brand strong { font-size: 15px; }
.rm5450-help-brand small { font-size: 10px; }
.rm5450-help-brand > span { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
.rm5450-help-tabs { padding: 8px 12px; }
.rm5450-help-tabs button { font-size: 11px; min-height: 36px; padding: 0 7px; }
.rm5450-tab-panel { padding: 14px; }
.rm5450-context-card { padding: 15px; }
.rm5450-context-card h2, .rm5450-glossary-intro h2 { font-size: 17px; line-height: 1.35; }
.rm5450-context-card p, .rm5450-glossary-intro p, .rm5450-term-detail p, .rm5450-safety-note p { font-size: 12px; line-height: 1.6; }
.rm5450-section-head h3 { font-size: 15px; }
.rm5450-help-foot { padding: 10px 14px; }
.rm5450-help-foot strong { font-size: 12px; }
.rm5450-first-visit { z-index: 1101; }
@media (max-width: 720px) {
  html body .rm5450-help-drawer { top: 136px; right: 10px; bottom: 10px; width: calc(100vw - 20px); max-height: calc(100dvh - 146px); }
}
@media (max-height: 620px) { html body .rm5450-help-drawer { top: 70px; max-height: calc(100dvh - 80px); } }
.rm5450-guide-steps p { font-size: 12px; line-height: 1.6; }
.rm5450-guide-steps li { gap: 9px; padding-bottom: 10px; }

/* Stage 5.44.63: same button geometry and X as the Analysis drawer. */
html body #rm5450HelpLauncher { border-radius: 12px !important; }
html body #rm5450HelpClose, html body #rmGeminiClose {
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  flex:0 0 38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:0!important;border-radius:14px!important;background:rgba(235,241,245,.94)!important;color:#29465a!important;
  padding:0!important;margin:0!important;line-height:1!important;box-shadow:none!important;font-size:0!important;cursor:pointer;
}
html body #rm5450HelpClose svg,html body #rmGeminiClose svg { width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.2!important; }
html body #rm5450HelpClose:hover,html body #rmGeminiClose:hover { background:rgba(229,231,235,.98)!important;color:#111827!important;transform:translateY(-1px)!important; }
