:root {
  --rm-bg: #f6f8fc;
  --rm-card: #ffffff;
  --rm-text: #071432;
  --rm-muted: #667085;
  --rm-line: #e6eaf2;
  --rm-soft: #f8fafd;
  --rm-primary: #0b6bff;
  --rm-primary-dark: #004fd1;
  --rm-success: #12805c;
  --rm-success-bg: #eaf8f1;
  --rm-warn: #c65d1e;
  --rm-warn-bg: #fff4e5;
  --rm-danger: #c83d45;
  --rm-danger-bg: #fff0f0;
  --rm-radius: 8px;
  --rm-shadow: 0 18px 48px rgba(14, 31, 62, 0.08);
  --rm-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

.rm-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--rm-text);
  background: var(--rm-bg);
  font-family: var(--rm-font);
}

.rm-app a {
  color: var(--rm-primary);
  text-decoration: none;
}

.rm-header {
  position: relative;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 54px);
  border-bottom: 1px solid var(--rm-line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.rm-public-menu-button {
  display: none;
}

.rm-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rm-text) !important;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.rm-logo img {
  width: auto;
  height: 46px;
  display: block;
}

.rm-logo-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(180deg, #1681ff, #0058e6);
}

.rm-logo-mark .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.rm-header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
}

.rm-header-nav a,
.rm-header-nav button {
  color: var(--rm-text);
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.rm-header-nav a:not(.rm-header-cta):hover {
  color: var(--rm-primary);
}

.rm-header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--rm-radius);
  color: #ffffff !important;
  background: var(--rm-primary);
  box-shadow: 0 12px 24px rgba(11, 107, 255, 0.2);
}

.rm-header-cta:hover {
  background: var(--rm-primary-dark);
}

.rm-anchor,
#about,
#api {
  scroll-margin-top: 104px;
}

.rm-anchor {
  height: 0;
}

.rm-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding: 34px clamp(20px, 5vw, 54px);
  border-top: 1px solid var(--rm-line);
  color: var(--rm-muted);
  background: #ffffff;
  font-size: 14px;
}

.rm-footer div,
.rm-footer nav {
  display: flex;
  gap: 18px;
}

.rm-footer div {
  flex-direction: column;
}

.rm-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rm-footer strong {
  color: var(--rm-text);
}

.rm-landing,
.rm-dashboard,
.rm-auth-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.rm-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 48px;
  padding: 54px 0 36px;
}

.rm-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #d7e6ff;
  border-radius: 999px;
  color: var(--rm-primary);
  background: #edf5ff;
  font-size: 13px;
  font-weight: 700;
}

.rm-hero h1,
.rm-auth-card h1,
.rm-dashboard-hero h1,
.rm-pane-header h2 {
  margin: 16px 0 12px;
  color: var(--rm-text);
  letter-spacing: 0;
}

.rm-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
}

.rm-hero p,
.rm-auth-card p,
.rm-dashboard-hero p,
.rm-pane-header p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.6;
}

.rm-hero p {
  max-width: 620px;
  font-size: 18px;
}

.rm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.rm-landing-hero {
  padding-bottom: 28px;
}

.rm-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.rm-hero-trust span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
  color: var(--rm-muted);
  font-size: 14px;
  font-weight: 700;
}

.rm-hero-trust strong {
  color: var(--rm-text);
}

.rm-landing-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--rm-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--rm-shadow);
}

.rm-visual-hero {
  aspect-ratio: 1586 / 992;
}

.rm-visual-report {
  aspect-ratio: 1448 / 1086;
}

.rm-visual-data {
  aspect-ratio: 1672 / 941;
}

.rm-landing-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.rm-visual-placeholder-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 10px;
  border: 1px dashed #b8c7dc;
  border-radius: var(--rm-radius);
  background: rgba(255, 255, 255, 0.82);
  color: #516078;
  font-size: 13px;
  font-weight: 800;
}

.rm-visual-topbar {
  display: flex;
  gap: 7px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(230, 234, 242, 0.9);
  background: rgba(255, 255, 255, 0.72);
}

.rm-visual-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfccdd;
}

.rm-visual-dashboard {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  padding: 26px;
}

.rm-visual-card {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px;
  border: 1px solid #dfe7f2;
  border-radius: var(--rm-radius);
  background: rgba(255, 255, 255, 0.86);
}

.rm-visual-card-main {
  grid-row: span 2;
}

.rm-visual-card span {
  color: var(--rm-muted);
  font-size: 14px;
  font-weight: 700;
}

.rm-visual-card strong {
  color: #e94a2a;
  font-size: 62px;
  line-height: 1;
}

.rm-visual-card em {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--rm-warn);
  background: var(--rm-warn-bg);
  font-style: normal;
  font-weight: 800;
}

.rm-landing-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin: 0 0 72px;
  border: 1px solid var(--rm-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(14, 31, 62, 0.05);
}

.rm-landing-strip div {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border-right: 1px solid var(--rm-line);
}

.rm-landing-strip div:last-child {
  border-right: 0;
}

.rm-landing-strip strong {
  font-size: 18px;
}

.rm-landing-strip span {
  color: var(--rm-muted);
  line-height: 1.45;
}

.rm-landing-section,
.rm-landing-split {
  margin-bottom: 82px;
}

.rm-landing-section h2,
.rm-landing-split h2,
.rm-landing-cta h2 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.rm-landing-section p,
.rm-landing-split p,
.rm-landing-cta p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.62;
}

.rm-landing-section-centered {
  text-align: center;
}

.rm-landing-section-centered > p {
  max-width: 720px;
  margin: 0 auto;
}

.rm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
  text-align: left;
}

.rm-process-grid article,
.rm-guard-grid article {
  padding: 22px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--rm-primary);
  font-weight: 800;
}

.rm-process-grid h3 {
  margin: 18px 0 9px;
  font-size: 19px;
}

.rm-process-grid p,
.rm-guard-grid p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.55;
}

.rm-landing-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 42px;
}

.rm-landing-split-reverse {
  grid-template-columns: minmax(360px, 1.1fr) minmax(0, 0.9fr);
}

.rm-landing-copy {
  max-width: 620px;
}

.rm-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rm-check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--rm-text);
  line-height: 1.45;
  font-weight: 700;
}

.rm-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rm-success);
  box-shadow: inset 0 0 0 5px #dff4ea;
}

.rm-report-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 18px;
  padding: 28px;
}

.rm-report-placeholder > div:first-child,
.rm-risk-preview,
.rm-report-placeholder ul {
  border: 1px solid #dfe7f2;
  border-radius: var(--rm-radius);
  background: rgba(255, 255, 255, 0.86);
}

.rm-report-placeholder > div:first-child {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 122px;
  padding: 18px;
}

.rm-report-placeholder span {
  color: var(--rm-muted);
  font-weight: 700;
}

.rm-report-placeholder strong {
  font-size: 24px;
}

.rm-risk-preview {
  display: grid;
  place-items: center;
  color: #e94a2a;
  font-size: 58px;
  font-weight: 800;
}

.rm-report-placeholder ul {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  list-style: none;
}

.rm-report-placeholder li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 14px;
}

.rm-report-placeholder li span,
.rm-report-placeholder li b {
  height: 16px;
  border-radius: 999px;
  background: #d8e2ef;
}

.rm-report-placeholder li b {
  background: #f4c79c;
}

.rm-data-placeholder {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
}

.rm-data-node {
  min-width: 112px;
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid #dfe7f2;
  border-radius: var(--rm-radius);
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-weight: 800;
}

.rm-data-node-core {
  color: #ffffff;
  background: var(--rm-primary);
}

.rm-data-node-bonus {
  color: var(--rm-success);
  background: var(--rm-success-bg);
}

.rm-data-line {
  width: 54px;
  height: 2px;
  background: #a9b7cc;
}

.rm-api-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: 34px;
  padding: 34px;
  border: 1px solid var(--rm-line);
  border-radius: 14px;
  background: #ffffff;
}

.rm-api-demo pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  border-radius: var(--rm-radius);
  background: #0b1428;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.65;
}

.rm-guard-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.rm-guard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rm-guard-grid .dashicons {
  width: 34px;
  height: 34px;
  color: var(--rm-primary);
  font-size: 34px;
}

.rm-guard-grid strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 18px;
}

.rm-landing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 72px;
  padding: 34px;
  border: 1px solid #cfe0f7;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(11, 107, 255, 0.1), rgba(245, 165, 36, 0.1)),
    #ffffff;
}

.rm-landing-cta > div {
  max-width: 760px;
}

.rm-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
  color: var(--rm-text);
  font: 700 15px/1 var(--rm-font);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.rm-button:hover {
  transform: translateY(-1px);
}

.rm-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.rm-button-primary {
  border-color: var(--rm-primary);
  background: var(--rm-primary);
  color: #ffffff !important;
}

.rm-button-primary:hover {
  background: var(--rm-primary-dark);
}

.rm-button-secondary {
  color: var(--rm-primary) !important;
  border-color: #b8d5ff;
}

.rm-button-wide {
  width: 100%;
}

.rm-hero-panel,
.rm-card {
  border: 1px solid var(--rm-line);
  border-radius: 14px;
  background: var(--rm-card);
  box-shadow: var(--rm-shadow);
}

.rm-hero-panel {
  padding: 28px;
}

.rm-mini-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
}

.rm-mini-result strong {
  display: block;
  margin-top: 4px;
  color: #ea4b2a;
  font-size: 58px;
  line-height: 1;
}

.rm-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.rm-mini-list span {
  padding: 14px 16px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: var(--rm-soft);
  font-weight: 700;
}

.rm-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 64px;
}

.rm-section-grid article {
  padding: 26px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-section-grid .dashicons {
  width: 34px;
  height: 34px;
  color: var(--rm-primary);
  font-size: 34px;
}

.rm-section-grid h2 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.rm-section-grid p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.55;
}

.rm-auth-page {
  display: grid;
  place-items: center;
  flex: 1;
  padding: 56px 0 76px;
}

.rm-auth-card {
  width: min(100%, 620px);
  padding: 36px 44px 44px;
}

.rm-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: var(--rm-soft);
}

.rm-tabs button {
  min-height: 40px;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--rm-muted);
  font: 700 14px/1 var(--rm-font);
  cursor: pointer;
}

.rm-tabs button.is-active {
  color: var(--rm-text);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(14, 31, 62, 0.06);
}

.rm-auth-pane {
  display: none;
  padding-top: 22px;
}

.rm-auth-pane.is-active {
  display: block;
}

.rm-auth-card h1 {
  text-align: center;
  font-size: 32px;
}

.rm-auth-card p {
  margin-bottom: 28px;
  text-align: center;
}

.rm-form {
  display: grid;
  gap: 18px;
}

.rm-form label {
  display: grid;
  gap: 9px;
  color: var(--rm-text);
  font-size: 14px;
  font-weight: 700;
}

.rm-form input,
.rm-form select,
.rm-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #dfe4ec;
  border-radius: var(--rm-radius);
  outline: none;
  background: #ffffff;
  color: var(--rm-text);
  font: 500 15px/1.3 var(--rm-font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rm-form textarea {
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
}

.rm-form input:focus,
.rm-form select:focus,
.rm-form textarea:focus {
  border-color: var(--rm-primary);
  box-shadow: 0 0 0 4px rgba(11, 107, 255, 0.1);
}

.rm-input-icon {
  position: relative;
}

.rm-input-icon input {
  padding-right: 48px;
}

.rm-input-icon .dashicons {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  color: #98a2b3;
  font-size: 20px;
  transform: translateY(-50%);
}

.rm-checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  color: var(--rm-muted) !important;
  font-weight: 600 !important;
}

.rm-checkbox input {
  flex: 0 0 20px;
  width: 20px;
  min-height: 20px;
  accent-color: var(--rm-primary);
}

.rm-checkbox-text {
  min-width: 0;
  line-height: 1.45;
}

.rm-form-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rm-form-row-between {
  justify-content: space-between;
}

.rm-form-message {
  min-height: 20px;
  color: var(--rm-muted);
  font-size: 14px;
  font-weight: 600;
}

.rm-form-message.is-error {
  color: var(--rm-danger);
}

.rm-form-message.is-success {
  color: var(--rm-success);
}

.rm-admin-shell {
  min-height: 100vh;
  overflow: visible;
  background: #f3f6fb;
}

.rm-admin-layout {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  align-items: start;
}

.rm-admin-layout > * {
  min-width: 0;
}

.rm-mobile-menu-button,
.rm-sidebar-backdrop,
.rm-sidebar-close {
  display: none;
}

.rm-admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding: 22px 16px;
  border-right: 1px solid var(--rm-line);
  background: #ffffff;
  box-shadow: 10px 0 32px rgba(14, 31, 62, 0.06);
}

.rm-sidebar-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rm-admin-sidebar-logo {
  min-width: 0;
  flex: 1 1 auto;
  padding: 2px 6px 12px;
}

.rm-admin-sidebar-logo img {
  height: 42px;
  max-width: 220px;
  object-fit: contain;
}

.rm-sidebar-account {
  display: grid;
  gap: 0;
}

.rm-sidebar-profile {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rm-sidebar-profile-body {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding-top: 1px;
}

.rm-sidebar-account span,
.rm-sidebar-account small,
.rm-balance-card small {
  color: var(--rm-muted);
}

.rm-sidebar-profile strong {
  overflow: hidden;
  color: var(--rm-text);
  font-size: 19px;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.rm-sidebar-balance-inline {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}

.rm-sidebar-balance-inline span,
.rm-sidebar-balance-inline b {
  font-size: 14px;
  line-height: 1.2;
}

.rm-sidebar-balance-inline b {
  color: var(--rm-primary);
  font-weight: 800;
}

.rm-sidebar-balance-inline small {
  flex: 0 0 100%;
  display: block;
  font-size: 12px;
  line-height: 1.45;
}

.rm-sidebar-nav {
  display: grid;
  gap: 8px;
}

.rm-sidebar-nav button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--rm-radius);
  color: #475467;
  background: transparent;
  font: 800 14px/1.2 var(--rm-font);
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.rm-sidebar-nav button:hover,
.rm-sidebar-nav button:focus-visible {
  color: var(--rm-primary);
  background: #f3f8ff;
}

.rm-sidebar-nav button.is-active {
  color: var(--rm-primary);
  background: #edf5ff;
}

.rm-sidebar-nav .dashicons {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  font-size: 22px;
}

.rm-sidebar-nav span:last-child {
  min-width: 0;
}

.rm-sidebar-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rm-line);
  text-align: center;
}

.rm-sidebar-legal {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.rm-sidebar-legal a {
  color: var(--rm-muted);
  font-size: 13px;
  font-weight: 700;
}

.rm-sidebar-footer .rm-button {
  width: 100%;
  justify-content: center;
}

.rm-sidebar-copyright {
  color: var(--rm-muted);
  font-size: 12px;
  line-height: 1.4;
}

.rm-admin-shell .rm-dashboard {
  width: 100%;
  max-width: 1180px;
  min-height: 100vh;
  overflow: visible;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.rm-admin-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
  align-items: stretch;
}

.rm-admin-title-card {
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-admin-title-card {
  padding: 24px;
}

.rm-command-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.rm-section-title-badge {
  width: fit-content;
  display: flex;
  margin-bottom: 12px;
}

.rm-command-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rm-command-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--rm-line);
  border-radius: 999px;
  color: #344054;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.rm-command-status .dashicons {
  width: 16px;
  height: 16px;
  color: var(--rm-primary);
  font-size: 16px;
}

.rm-admin-title-card h1 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: 0;
}

.rm-admin-title-card p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.55;
}

.rm-admin-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--rm-primary);
  background: #edf5ff;
}

.rm-admin-avatar .dashicons {
  width: 24px;
  height: 24px;
  font-size: 24px;
}

.rm-balance-card {
  min-width: 220px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 24px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-balance-card span,
.rm-stat-grid span,
.rm-muted {
  color: var(--rm-muted);
}

.rm-balance-card strong {
  margin-top: 6px;
  color: var(--rm-primary);
  font-size: 48px;
  line-height: 1;
}

.rm-balance-card-compact {
  min-width: 0;
  min-height: 138px;
  padding: 18px;
}

.rm-balance-card-compact strong {
  font-size: 44px;
}

.rm-balance-card-compact small {
  margin-top: 8px;
  line-height: 1.4;
}

.rm-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.rm-stat-grid article {
  padding: 20px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-stat-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
}

.rm-stat-grid-inline {
  margin: 22px 0 0;
}

.rm-workspace {
  overflow: hidden;
  padding: 0;
}

.rm-tab-pane {
  display: none;
  padding: 24px;
}

.rm-tab-pane.is-active {
  display: block;
}

.rm-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.rm-pane-header > div {
  min-width: 0;
}

.rm-pane-header h2 {
  margin-top: 0;
  font-size: 28px;
}

.rm-workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: -4px 0 22px;
}

.rm-workflow-strip div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-workflow-strip strong {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--rm-primary);
  font-size: 13px;
}

.rm-workflow-strip span {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.rm-pane-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.rm-panel-note {
  margin: -4px 0 18px;
  color: var(--rm-muted);
  font-size: 14px;
  line-height: 1.5;
}

.rm-balance-dashboard {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(360px, 1.25fr);
  gap: 22px;
  align-items: stretch;
}

.rm-balance-summary-card,
.rm-topup-card {
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-balance-summary-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border-color: #d5e4f7;
  background: #edf5ff;
}

.rm-balance-summary-card span,
.rm-balance-summary-card small {
  color: var(--rm-muted);
}

.rm-balance-summary-card strong {
  color: var(--rm-primary);
  font-size: 64px;
  line-height: 1;
}

.rm-topup-card {
  padding: 24px;
}

.rm-topup-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.rm-balance-delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
}

.rm-balance-delta-plus {
  color: var(--rm-success);
  background: var(--rm-success-bg);
}

.rm-balance-delta-minus {
  color: var(--rm-danger);
  background: var(--rm-danger-bg);
}

.rm-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.rm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rm-field-wide {
  grid-column: 1 / -1;
}

.rm-form-section-title {
  margin-top: 6px;
  padding-bottom: 2px;
  color: var(--rm-primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rm-result-shell,
.rm-info-panel,
.rm-code-card,
.rm-api-grid section {
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-result-shell {
  min-height: 472px;
  padding: 22px;
}

.rm-empty-state,
.rm-empty-inline {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 24px;
  border: 1px dashed #cfdae8;
  border-radius: var(--rm-radius);
  color: var(--rm-muted);
  text-align: center;
}

.rm-empty-state .dashicons {
  width: 44px;
  height: 44px;
  color: var(--rm-primary);
  font-size: 44px;
}

.rm-empty-state h3 {
  margin: 14px 0 6px;
  color: var(--rm-text);
}

.rm-empty-state p {
  margin: 0;
  line-height: 1.5;
}

.rm-result-card {
  display: grid;
  gap: 16px;
}

.rm-result-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
}

.rm-person-card,
.rm-score-card,
.rm-summary-grid,
.rm-events-list,
.rm-recommendation {
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-person-card {
  display: flex;
  gap: 16px;
  padding: 18px;
}

.rm-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5d6f93;
  background: #edf2fb;
}

.rm-avatar .dashicons {
  width: 32px;
  height: 32px;
  font-size: 32px;
}

.rm-person-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.rm-person-lines {
  display: grid;
  gap: 8px;
  color: var(--rm-muted);
  font-size: 14px;
}

.rm-person-lines span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rm-score-card {
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 18px;
  text-align: center;
}

.rm-score-card strong {
  display: block;
  margin: 5px 0 8px;
  color: #e94a2a;
  font-size: 54px;
  line-height: 1;
}

.rm-badge,
.rm-risk-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.rm-badge-warn,
.rm-risk-elevated,
.rm-risk-moderate {
  color: var(--rm-warn);
  background: var(--rm-warn-bg);
  border: 1px solid #ffd9aa;
}

.rm-badge-success,
.rm-risk-low {
  color: var(--rm-success);
  background: var(--rm-success-bg);
  border: 1px solid #bae8d2;
}

.rm-risk-high {
  color: var(--rm-danger);
  background: var(--rm-danger-bg);
  border: 1px solid #ffc7c7;
}

.rm-risk-insufficient {
  color: #5d6f93;
  background: #eef2f7;
  border: 1px solid #dce3ed;
}

.rm-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.rm-summary-grid div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-right: 1px solid var(--rm-line);
}

.rm-summary-grid div:last-child {
  border-right: 0;
}

.rm-summary-grid span {
  color: var(--rm-muted);
  font-size: 13px;
}

.rm-summary-grid strong {
  font-size: 18px;
}

.rm-events-list {
  overflow: hidden;
}

.rm-events-list h3,
.rm-table-block h3,
.rm-api-grid h3,
.rm-info-panel h3,
.rm-code-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.rm-events-list h3 {
  padding: 16px 18px 0;
}

.rm-event-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--rm-line);
  font-size: 14px;
}

.rm-event-row:first-of-type {
  border-top: 0;
}

.rm-event-row strong {
  display: block;
}

.rm-event-row span {
  color: var(--rm-muted);
}

.rm-event-main,
.rm-event-meta,
.rm-event-status {
  min-width: 0;
}

.rm-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.rm-event-meta span {
  color: var(--rm-text);
  font-weight: 700;
}

.rm-event-status {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
}

.rm-recommendation {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-color: #ffe1a9;
  background: #fffaf0;
}

.rm-recommendation .dashicons {
  color: #f5a524;
}

.rm-info-panel {
  padding: 24px;
}

.rm-info-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--rm-muted);
  line-height: 1.7;
}

.rm-check-list {
  display: grid;
  gap: 12px;
}

.rm-check-list span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #344054;
  font-size: 14px;
  line-height: 1.45;
}

.rm-check-list .dashicons {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--rm-success);
  font-size: 20px;
}

.rm-table-block {
  margin-top: 28px;
}

.rm-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.rm-table th,
.rm-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rm-line);
  text-align: left;
  vertical-align: middle;
}

.rm-table th {
  color: var(--rm-muted);
  background: var(--rm-soft);
  font-size: 13px;
  font-weight: 800;
}

.rm-table tr:last-child td {
  border-bottom: 0;
}

.rm-empty-inline {
  min-height: 86px;
  background: #ffffff;
}

.rm-api-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
}

.rm-api-overview,
.rm-balance-rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: -4px 0 22px;
}

.rm-api-overview article,
.rm-balance-rules article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-api-overview span,
.rm-balance-rules span,
.rm-balance-rules small {
  color: var(--rm-muted);
  font-size: 13px;
  line-height: 1.4;
}

.rm-api-overview strong,
.rm-balance-rules strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 6px;
  color: var(--rm-text);
  font-size: 18px;
}

.rm-balance-rules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rm-balance-rules strong {
  color: var(--rm-primary);
  font-size: 30px;
  line-height: 1;
}

.rm-api-grid section,
.rm-code-card {
  padding: 22px;
}

.rm-key-list {
  display: grid;
  gap: 12px;
}

.rm-key-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: var(--rm-soft);
}

.rm-key-card div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rm-key-card span,
.rm-key-card small {
  color: var(--rm-muted);
  word-break: break-word;
}

.rm-code-card pre {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  border-radius: var(--rm-radius);
  background: #0b1428;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.65;
}

.rm-code-card p {
  margin: -4px 0 16px;
  color: var(--rm-muted);
  line-height: 1.5;
}

.rm-doc-grid,
.rm-doc-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rm-doc-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-doc-card-wide {
  grid-column: 1 / -1;
}

.rm-doc-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.rm-doc-card-header h3,
.rm-doc-card-header p {
  margin-bottom: 0;
}

.rm-doc-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.rm-doc-card p {
  margin: 0 0 14px;
  color: var(--rm-muted);
  line-height: 1.55;
}

.rm-doc-card pre {
  overflow-x: auto;
  margin: 0;
  padding: 16px;
  border-radius: var(--rm-radius);
  background: #0b1428;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.6;
}

.rm-doc-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--rm-muted);
  line-height: 1.55;
}

.rm-doc-list strong {
  color: var(--rm-text);
}

.rm-doc-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: #344054;
  line-height: 1.55;
}

.rm-doc-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--rm-success);
  background: var(--rm-success-bg);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.rm-doc-badge-muted {
  color: #5d6f93;
  background: #eef2f7;
}

.rm-doc-method-list {
  display: grid;
  gap: 10px;
}

.rm-doc-method-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: var(--rm-soft);
}

.rm-doc-method-list strong,
.rm-doc-method-list small {
  display: block;
}

.rm-doc-method-list small {
  margin-top: 3px;
  color: var(--rm-muted);
  line-height: 1.4;
}

.rm-doc-method {
  display: inline-flex;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.rm-doc-method-post {
  background: var(--rm-primary);
}

.rm-doc-method-get {
  background: var(--rm-success);
}

.rm-doc-method-hook {
  background: #5d6f93;
}

.rm-info-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.rm-info-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 44px;
  padding: 24px 0 42px;
}

.rm-info-hero-compact {
  min-height: 440px;
}

.rm-info-hero h1 {
  max-width: 820px;
  margin: 16px 0 14px;
  color: var(--rm-text);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.rm-info-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--rm-muted);
  font-size: 18px;
  line-height: 1.65;
}

.rm-info-visual {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
  box-shadow: var(--rm-shadow);
}

.rm-info-visual img,
.rm-info-result img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.rm-info-section,
.rm-info-split {
  padding: 54px 0;
}

.rm-info-section > h2,
.rm-info-split h2 {
  max-width: 760px;
  margin: 16px 0 12px;
  color: var(--rm-text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.rm-info-section > p,
.rm-info-split p {
  max-width: 760px;
  margin: 0;
  color: var(--rm-muted);
  font-size: 17px;
  line-height: 1.65;
}

.rm-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.rm-info-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rm-info-grid article,
.rm-info-panel-list article,
.rm-public-methods article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-info-grid .dashicons {
  width: 34px;
  height: 34px;
  color: var(--rm-primary);
  font-size: 34px;
}

.rm-info-grid h3,
.rm-info-panel-list strong,
.rm-public-methods strong {
  display: block;
  margin: 16px 0 10px;
  color: var(--rm-text);
  font-size: 20px;
  line-height: 1.2;
}

.rm-info-grid p,
.rm-info-panel-list span,
.rm-public-methods p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.6;
}

.rm-info-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: start;
  gap: 36px;
}

.rm-info-list,
.rm-info-panel-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.rm-info-list li {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
  list-style: none;
}

.rm-info-list strong {
  color: var(--rm-text);
}

.rm-info-list span {
  color: var(--rm-muted);
  line-height: 1.55;
}

.rm-info-list code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--rm-soft);
  color: var(--rm-primary);
  font-weight: 800;
}

.rm-info-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.rm-info-flow article {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
}

.rm-info-flow span {
  color: var(--rm-primary);
  font-size: 13px;
  font-weight: 900;
}

.rm-info-flow h3 {
  margin: 0;
  font-size: 18px;
}

.rm-info-flow p {
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.55;
}

.rm-info-result {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
  box-shadow: var(--rm-shadow);
}

.rm-info-result-content {
  padding: 8px 8px 8px 0;
}

.rm-public-api-code pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  border-radius: var(--rm-radius);
  background: #0b1428;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.65;
  box-shadow: var(--rm-shadow);
}

.rm-public-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.rm-public-methods article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 14px;
}

.rm-public-methods p {
  grid-column: 2;
}

.rm-legal-page {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.rm-legal-hero {
  margin-bottom: 22px;
}

.rm-legal-hero h1 {
  max-width: 860px;
  margin: 16px 0 12px;
  color: var(--rm-text);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.rm-legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--rm-muted);
  font-size: 17px;
  line-height: 1.6;
}

.rm-legal-card {
  display: grid;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--rm-line);
  border-radius: var(--rm-radius);
  background: #ffffff;
  box-shadow: var(--rm-shadow);
}

.rm-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rm-line);
}

.rm-legal-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #d7e6ff;
  border-radius: 999px;
  color: var(--rm-primary);
  background: #edf5ff;
  font-size: 13px;
  font-weight: 800;
}

.rm-legal-card section {
  display: grid;
  gap: 12px;
}

.rm-legal-card h2 {
  margin: 0;
  color: var(--rm-text);
  font-size: 22px;
  letter-spacing: 0;
}

.rm-legal-card p,
.rm-legal-card li {
  color: #344054;
  line-height: 1.7;
}

.rm-legal-card p,
.rm-legal-card ul {
  margin: 0;
}

.rm-legal-card ul {
  padding-left: 20px;
}

.rm-legal-note {
  padding: 18px;
  border: 1px solid #ffd9aa;
  border-radius: var(--rm-radius);
  background: #fffaf0;
}

@media (max-width: 980px) {
	  .rm-hero,
	  .rm-two-column,
	  .rm-workflow-strip,
		  .rm-api-grid,
		  .rm-api-overview,
		  .rm-doc-grid,
		  .rm-doc-layout,
		  .rm-balance-rules,
		  .rm-balance-dashboard,
  .rm-info-hero,
  .rm-info-split,
  .rm-info-result,
  .rm-landing-split,
  .rm-landing-split-reverse,
  .rm-api-section,
  .rm-guard-section,
	  .rm-admin-overview {
	    grid-template-columns: 1fr;
	  }
	 
	  .rm-section-grid,
	  .rm-stat-grid,
	  .rm-landing-strip,
	  .rm-process-grid,
  .rm-info-grid,
  .rm-info-grid-four,
  .rm-info-flow,
  .rm-public-methods,
	  .rm-guard-grid {
	    grid-template-columns: 1fr;
	  }

	  .rm-landing-strip div {
	    border-right: 0;
	    border-bottom: 1px solid var(--rm-line);
	  }

	  .rm-landing-strip div:last-child {
	    border-bottom: 0;
	  }

	  .rm-landing-copy {
	    max-width: none;
	  }

	  .rm-landing-split-reverse .rm-landing-visual {
	    order: 2;
	  }

	  .rm-landing-split-reverse .rm-landing-copy {
	    order: 1;
	  }

			  .rm-dashboard-hero,
			  .rm-pane-header,
			  .rm-command-bar,
			  .rm-doc-card-header {
			    align-items: flex-start;
			    flex-direction: column;
			  }

			  .rm-pane-actions {
			    width: 100%;
			    justify-content: flex-start;
			  }

  .rm-admin-layout {
    height: auto;
    min-height: 100vh;
    grid-template-columns: 1fr;
  }

  .rm-admin-shell {
    height: auto;
    overflow: visible;
  }

  .rm-admin-sidebar {
    position: relative;
    top: auto;
    height: auto;
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(220px, 1fr);
    align-items: start;
    border-right: 0;
    border-bottom: 1px solid var(--rm-line);
    box-shadow: 0 10px 28px rgba(14, 31, 62, 0.05);
  }

  .rm-admin-sidebar-logo {
    grid-column: 1;
  }

  .rm-sidebar-account {
    grid-column: 2;
    grid-row: 1;
  }

  .rm-sidebar-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rm-sidebar-footer {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-top: 0;
  }

  .rm-sidebar-footer .rm-button {
    min-width: 160px;
  }

  .rm-admin-shell .rm-dashboard {
    height: auto;
    overflow-y: visible;
  }

  .rm-result-top,
  .rm-summary-grid {
    grid-template-columns: 1fr;
  }

  .rm-summary-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--rm-line);
  }

  .rm-summary-grid div:last-child {
    border-bottom: 0;
  }

  .rm-event-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-event-status {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .rm-header {
    height: auto;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .rm-admin-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .rm-admin-sidebar-logo,
  .rm-sidebar-account,
  .rm-sidebar-nav,
  .rm-sidebar-footer {
    grid-column: auto;
    grid-row: auto;
  }

  .rm-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .rm-logo {
    font-size: 24px;
  }

  .rm-logo img {
    height: 38px;
    max-width: min(260px, calc(100vw - 40px));
    object-fit: contain;
  }

  .rm-public-menu-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    border: 1px solid var(--rm-line);
    border-radius: var(--rm-radius);
    color: var(--rm-primary);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(14, 31, 62, 0.1);
    cursor: pointer;
  }

  .rm-public-menu-button .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  .rm-header-nav {
    flex: 0 0 100%;
    width: 100%;
    max-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 0.24s ease, opacity 0.2s ease, transform 0.24s ease, padding 0.24s ease;
  }

  .rm-header.is-public-menu-open .rm-header-nav {
    max-height: 340px;
    padding-top: 10px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .rm-header-nav a,
  .rm-header-nav button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: var(--rm-radius);
  }

  .rm-header-nav a:not(.rm-header-cta):hover {
    background: var(--rm-soft);
  }

  .rm-header-cta {
    width: 100%;
    margin-top: 4px;
    padding: 0 16px;
  }

  .rm-info-page {
    width: min(100% - 28px, 1180px);
    padding: 28px 0 54px;
  }

  .rm-info-hero {
    min-height: auto;
    gap: 24px;
    padding: 12px 0 28px;
  }

  .rm-info-hero h1 {
    font-size: 34px;
  }

  .rm-info-hero p,
  .rm-info-section > p,
  .rm-info-split p {
    font-size: 16px;
  }

  .rm-info-section,
  .rm-info-split {
    padding: 34px 0;
  }

  .rm-info-section > h2,
  .rm-info-split h2 {
    font-size: 28px;
  }

  .rm-info-grid article,
  .rm-info-panel-list article,
  .rm-public-methods article,
  .rm-info-flow article {
    padding: 18px;
  }

  .rm-info-result {
    padding: 12px;
  }

  .rm-info-result-content {
    padding: 0;
  }

  .rm-public-methods article {
    grid-template-columns: 1fr;
  }

  .rm-public-methods p {
    grid-column: auto;
  }

  .rm-public-api-code pre {
    padding: 16px;
    font-size: 12px;
  }

  .rm-legal-page {
    width: min(100% - 28px, 1040px);
    padding: 28px 0 54px;
  }

  .rm-legal-hero h1 {
    font-size: 34px;
  }

  .rm-legal-card {
    padding: 18px;
  }

  .rm-footer {
    flex-direction: column;
  }

  .rm-footer nav {
    justify-content: flex-start;
  }

	  .rm-auth-card,
	  .rm-workspace,
	  .rm-api-section,
	  .rm-landing-cta {
	    padding: 18px;
	  }

	  .rm-workspace {
	    padding: 0;
	  }

	  .rm-admin-title-card,
	  .rm-tab-pane {
	    padding: 18px;
	  }

	  .rm-admin-title-card h1 {
	    font-size: 30px;
	  }

	  .rm-hero {
	    min-height: 0;
	    padding-top: 34px;
	  }

	  .rm-hero h1 {
	    font-size: 34px;
	  }

	  .rm-landing-section,
	  .rm-landing-split {
	    margin-bottom: 54px;
	  }

	  .rm-landing-visual {
	    min-height: 0;
	  }

	  .rm-visual-dashboard,
	  .rm-report-placeholder {
	    grid-template-columns: 1fr;
	    padding: 18px;
	  }

	  .rm-visual-card-main,
	  .rm-report-placeholder ul {
	    grid-column: auto;
	    grid-row: auto;
	  }

	  .rm-data-placeholder,
	  .rm-landing-cta {
	    flex-direction: column;
	    align-items: stretch;
	  }

	  .rm-data-placeholder {
	    gap: 10px;
	  }

	  .rm-data-line {
	    width: 2px;
	    height: 30px;
	  }

	  .rm-api-demo pre {
	    font-size: 12px;
	  }

	  .rm-form-grid {
	    grid-template-columns: 1fr;
	  }

	  .rm-doc-method-list article {
	    grid-template-columns: 1fr;
	    align-items: flex-start;
	  }

	  .rm-doc-badge {
	    width: fit-content;
	  }

	  .rm-event-row {
	    grid-template-columns: 1fr;
  }

	  .rm-key-card {
	    align-items: flex-start;
	    flex-direction: column;
	  }
	}

@media (max-width: 980px) {
  .rm-admin-shell {
    min-height: 100vh;
    overflow: visible;
  }

  .rm-admin-layout {
    min-height: 100vh;
    align-items: start;
    grid-template-columns: 286px minmax(0, 1fr);
  }

  .rm-admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--rm-line);
    border-bottom: 0;
    box-shadow: 10px 0 32px rgba(14, 31, 62, 0.06);
  }

  .rm-admin-sidebar-logo,
  .rm-sidebar-account,
  .rm-sidebar-nav,
  .rm-sidebar-footer {
    grid-column: auto;
    grid-row: auto;
  }

  .rm-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .rm-sidebar-footer {
    grid-template-columns: 1fr;
    margin-top: auto;
  }

  .rm-admin-shell .rm-dashboard {
    min-height: 100vh;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .rm-admin-layout {
    grid-template-columns: 1fr;
  }

  .rm-mobile-menu-button {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1080;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--rm-line);
    border-radius: var(--rm-radius);
    color: var(--rm-primary);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(14, 31, 62, 0.14);
    cursor: pointer;
  }

  .rm-mobile-menu-button .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  .rm-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: block;
    background: rgba(7, 20, 50, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
  }

  .rm-admin-shell.is-sidebar-open .rm-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .rm-admin-sidebar {
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    width: min(286px, 86vw);
    max-width: 86vw;
    height: 100vh;
    display: flex;
    padding: 16px 12px;
    transform: translateX(-105%);
    transition: transform 0.26s ease;
    will-change: transform;
  }

  .rm-admin-shell.is-sidebar-open .rm-admin-sidebar {
    transform: translateX(0);
  }

  .rm-sidebar-brand-row {
    align-items: flex-start;
  }

  .rm-admin-sidebar-logo {
    padding-bottom: 12px;
  }

  .rm-sidebar-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--rm-line);
    border-radius: var(--rm-radius);
    color: var(--rm-muted);
    background: #ffffff;
    cursor: pointer;
  }

  .rm-sidebar-close .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  .rm-sidebar-profile {
    align-items: flex-start;
  }

  .rm-admin-shell .rm-dashboard {
    width: 100%;
    max-width: none;
    padding: 72px 14px 72px;
  }
}
