/*
 * RM Theme / herramientas SEO + GEO / sistema visual PRE v3
 * 2026-11-11. Una sola hoja de integración, cargada DESPUÉS de los
 * CSS funcionales de cada herramienta. No modifica su HTML ni su JS.
 * Referencia de marca: #171B31, #4F578D, #F4F5FA, #F73760.
 */

/* 1. Tokens, tipografía y acceso temprano a la tarea */
body.rm-pilots .rm-native-tool-page {
  --rt-ink:#171B31;
  --rt-muted:#526077;
  --rt-soft:#F4F5FA;
  --rt-line:#DCE1E9;
  --rt-line-strong:#C5CCDA;
  --rt-indigo:#4F578D;
  --rt-brand:#F73760;
  --rt-primary:#DB244C; /* texto blanco con contraste suficiente */
  --rt-radius:12px;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-hero {
  padding:clamp(28px,3.2vw,43px) 0 clamp(36px,4vw,54px)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-hero > .rm-native-tool-shell,
body.rm-pilots .rm-native-tool-page .rm-native-tool-hero-stack > .rm-native-tool-shell {
  gap:clamp(19px,2.1vw,28px)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-hero-copy {
  max-width:1080px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-hero-copy > h1 {
  max-width:1080px!important;
  font-size:clamp(2.06rem,3.35vw,3.2rem)!important;
  line-height:1.11!important;
  font-weight:750!important;
  letter-spacing:-.04em!important;
  margin:0 0 14px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-kicker {
  margin:0 0 10px!important;
  color:var(--rt-indigo)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-lead {
  max-width:970px!important;
  color:#465670!important;
  font-size:clamp(1rem,1.2vw,1.12rem)!important;
  line-height:1.56!important;
  margin:0 0 10px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-support {
  max-width:970px!important;
  color:#667388!important;
  font-size:.83rem!important;
  line-height:1.5!important;
}

/* 2. Contenedor de herramienta: una única superficie */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget {
  min-width:0!important;
  max-width:100%!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget > .wp-block-shortcode {
  width:100%!important;max-width:100%!important;min-width:0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) {
  --rmtools-brand:var(--rt-brand);
  --rmtools-ink:var(--rt-ink);
  --rmtools-muted:var(--rt-muted);
  --rmtools-line:var(--rt-line);
  --rmtools-line-strong:var(--rt-line-strong);
  --rmca-border:var(--rt-line);
  --rmgt-cta:var(--rt-brand);
  box-sizing:border-box!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;
  color:var(--rt-ink)!important;
  background:#FFF!important;
  border:1px solid var(--rt-line)!important;
  border-radius:15px!important;
  box-shadow:0 8px 28px rgba(23,27,49,.055)!important;
  transform:none!important;
  font-family:Roboto,Inter,system-ui,sans-serif!important;
  font-size:14px;
  line-height:1.55;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) *,
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) *::before,
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) *::after {
  box-sizing:border-box;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(.rmtools-title,.rmtools-card-title,h3) {
  color:var(--rt-ink);
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell :is(.rmtools-intro,.rmtools-subtitle,.rmtools-help,.rmgt-field-hint,.rmgt-field-help,.rm-utm-help-text,.rmrg-panel__text,.rmca-help,.rmgt-muted) {
  color:#58677D!important;
  line-height:1.55!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(.rmtools-label,.rmgt-field-group label,.rm-utm-field label,.rmrg-field__label,.rmca-label,label.rmtools-label) {
  color:#20283E!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.45!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell :is(.rmgt-field-hint,.rmtools-help,.rm-utm-help-text,.rmrg-hero__howto-copy,.rmca-help) {
  font-size:13px!important;
  line-height:1.5!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(p,li,small) {
  overflow-wrap:break-word;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(pre,code,textarea) {
  max-width:100%;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget pre {
  overflow-x:auto;
}

/* 3. Campos, etiquetas, botones y pestañas */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=file]),textarea,select) {
  max-width:100%!important;
  box-sizing:border-box!important;
  font-size:15px!important;
  line-height:1.5!important;
  color:#20283E;
  border:1px solid var(--rt-line-strong)!important;
  border-radius:9px!important;
  background-color:#FFF;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=file]),select) {
  min-height:45px;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(button,a,input,textarea,select):focus-visible {
  outline:3px solid var(--rt-indigo)!important;
  outline-offset:3px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=file]),textarea,select):focus-visible {
  border-color:var(--rt-indigo)!important;
}
/* Marcadores interactivos de pestaña: navegación interna, no CTA comercial. */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(.rm-utm-tab,.rmca-tab,.rmca-segmented-btn,.tablinks,[role=tab]) {
  font-size:14px!important;
  font-weight:680!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(.rm-utm-tab.is-active,.rmca-tab.is-active,.rmca-segmented-btn.is-active,.tablinks.active,[role=tab][aria-selected=true]) {
  color:#FFF!important;
  -webkit-text-fill-color:#FFF!important;
  background:var(--rt-indigo)!important;
  border-color:var(--rt-indigo)!important;
}
/* Un primario por tarea; resultado/copia conservan la semántica del plugin. */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool form button[type=submit],
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell :is(.rmca-btn-primary,.rmrg-button--primary,.rm-utm-button-primary,.rmsg-button-primary),
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-standalone :is(button[type=submit],button[id^=generateButton]) {
  color:#FFF!important;
  -webkit-text-fill-color:#FFF!important;
  background:var(--rt-primary)!important;
  border:1px solid var(--rt-primary)!important;
  border-radius:9px!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:730!important;
  line-height:1.4!important;
  min-height:45px!important;
  padding:11px 18px!important;
  text-decoration:none!important;
  transform:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool form button[type=submit]:not(:disabled):hover,
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell :is(.rmca-btn-primary,.rmrg-button--primary,.rm-utm-button-primary,.rmsg-button-primary):not(:disabled):hover,
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-standalone :is(button[type=submit],button[id^=generateButton]):not(:disabled):hover {
  background:#C51D45!important;border-color:#C51D45!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool form button[type=submit]:disabled {
  background:#AC5267!important;border-color:#AC5267!important;
  opacity:1!important;cursor:wait;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell :is(.rmtools-button--secondary,.rmtools-button--ghost,.rmca-btn-secondary,.rmca-btn-ghost,.rm-utm-button-secondary,.rmgt-button-secondary,.rmsg-button-secondary,.rmrg-button:not(.rmrg-button--primary)),
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-standalone :is(button[type=reset],button[id^=clearButton],button[id^=copyButton],#rm-geo-example,#rm-geo-copy,#rm-serp-copy) {
  color:#29364F!important;
  -webkit-text-fill-color:#29364F!important;
  background:#FFF!important;
  border:1px solid #C9D0DD!important;
  border-radius:9px!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:650!important;
  min-height:43px;
  transform:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-button-link {
  background:transparent!important;
  color:#344477!important;
  border:0!important;box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) button:disabled {
  cursor:not-allowed;
}

/* 4. Conversión: siempre terciaria, alineada con el contenido real */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell .rmtools-cta {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:10px 24px!important;
  margin:22px 0 0!important;
  padding:18px 28px 21px!important;
  background:transparent!important;
  border:0!important;
  border-top:1px solid var(--rt-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell .rmtools-cta-copy {
  min-width:0;flex:1 1 330px;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell .rmtools-cta h3 {
  color:#2A3852!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:700!important;
  margin:0 0 4px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell .rmtools-cta p {
  color:#58677D!important;
  font-size:13px!important;
  line-height:1.5!important;
  margin:0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell .rmtools-cta a[data-rmtools-cta] {
  display:inline-flex!important;
  flex:0 0 auto;
  min-height:36px!important;
  width:auto!important;
  padding:5px 0!important;
  color:#344477!important;
  -webkit-text-fill-color:#344477!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-size:13.5px!important;
  line-height:1.4!important;
  font-weight:720!important;
  text-decoration:underline!important;
  text-decoration-color:#A6AEC1!important;
  text-underline-offset:4px;
  white-space:normal;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell .rmtools-cta a[data-rmtools-cta]:hover {
  color:var(--rt-primary)!important;
  -webkit-text-fill-color:var(--rt-primary)!important;
  text-decoration-color:var(--rt-primary)!important;
}
/* Attribution remains visible; shared styles at the end of this sheet. */
/* Padding del CTA depende de quién posee el contenedor del formulario. */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmrg-app,.rmgt-tool:not(.rmgt-http-tool)) > .rmtools-cta {
  padding:18px 0 0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool > .rmtools-cta {
  padding:18px 28px 21px!important;
}

/* 5. Análisis IA: formularios de baja fricción */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool.rmtools-shell:not(.rmgt-http-tool) {
  padding:clamp(19px,2.5vw,29px)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool:not(.rmgt-http-tool) .rmgt-field-group {
  margin-bottom:17px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool:not(.rmgt-http-tool) .rmgt-field-group label {
  margin:0 0 7px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool:not(.rmgt-http-tool) :is(.rmgt-field-hint,.rmgt-field-help) {
  display:block;
  margin:6px 0 0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-response-example-link {
  min-height:auto!important;
  color:#344477!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-weight:700!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-loading,
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-error {
  margin:14px 0!important;
  line-height:1.6!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-result {
  min-width:0;max-width:100%;
  overflow-wrap:anywhere;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-visibility-hero {
  background:var(--rt-soft)!important;
  border:1px solid var(--rt-line)!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool :is(.rmgt-response-answer-card,.rmgt-response-summary-copy,.rmgt-response-method-note) {
  border:1px solid var(--rt-line)!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-response-answer-meta {
  background:var(--rt-soft)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-popup {
  max-width:min(560px,calc(100vw - 28px))!important;
  padding:clamp(18px,3vw,28px)!important;
  border:1px solid var(--rt-line)!important;
  border-radius:13px!important;
  color:var(--rt-ink)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-popup h3 {
  color:var(--rt-ink)!important;
  font-size:clamp(1.22rem,2vw,1.55rem)!important;
  line-height:1.3!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-popup :is(.rmgt-popup-actions button[type=submit],.rmgt-limit-primary) {
  color:#FFF!important;
  -webkit-text-fill-color:#FFF!important;
  background:var(--rt-primary)!important;
  border-radius:9px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-popup :is(.rmgt-button-secondary,.rmgt-limit-secondary) {
  color:#27314A!important;
  background:var(--rt-soft)!important;
  border:1px solid var(--rt-line)!important;
  border-radius:9px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-popup .rmgt-popup-x {
  color:var(--rt-muted)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* 6. Schema: un solo panel con información relevante */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool > .rmsg-hero {
  margin:0!important;
  padding:21px 28px 0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-hero::before,
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-hero::after {
  display:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-hero :is(.rmsg-hero-eyebrow,.rmsg-hero-title,.rmsg-hero-description),
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-hero :is(.rmrg-hero__title,.rmrg-hero__subtitle,.rmrg-hero__copy),
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-hero :is(.rmca-eyebrow,.rmtools-title,.rmtools-intro) {
  display:none!important; /* La página ya tiene H1 + descripción */
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-hero-trust {
  width:fit-content!important;max-width:100%!important;
  margin:0!important;
  padding:10px 13px!important;
  border:1px solid var(--rt-line)!important;
  border-radius:9px!important;
  background:var(--rt-soft)!important;
  color:#43536E!important;
  box-shadow:none!important;
  font-size:12.5px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-hero-trust-dot {
  background:var(--rt-indigo)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-copy {
  margin:0 28px!important;
  padding:20px 0 15px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--rt-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-copy :is(h2,p) {
  margin:0!important;max-width:900px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-copy h2 {
  font-size:17px!important;
  line-height:1.35!important;
  color:var(--rt-ink)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-copy p {
  font-size:13.5px!important;
  line-height:1.55!important;
  color:var(--rt-muted)!important;
  margin-top:6px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool > .rmsg-app.rmtools-body {
  padding:22px 28px 25px!important;
  margin:0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool :is(.rmsg-mode-card,.rmsg-generator-card,.rmsg-graph-template-card,.rmsg-search-panel,.rmsg-workspace-toolbar,.rmsg-form-panel,.rmsg-preview-panel,.rmsg-shared-group,.rmsg-graph-node-panel) {
  border:1px solid var(--rt-line)!important;
  border-radius:11px!important;
  background:#FFF!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-card {
  padding:21px!important;
  min-height:218px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-icon {
  width:42px!important;
  height:42px!important;
  margin-bottom:14px!important;
  background:#EEF0F7!important;
  color:var(--rt-indigo)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-title {
  font-size:18px!important;
  line-height:1.3!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-description {
  color:var(--rt-muted)!important;
  font-size:14px!important;
  line-height:1.55!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool :is(.rmsg-mode-card,.rmsg-generator-card,.rmsg-graph-template-card):hover {
  border-color:var(--rt-indigo)!important;
  transform:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool :is(.rmsg-generator-description,.rmsg-category-description,.rmsg-form-intro p,.rmsg-preview-head p) {
  color:var(--rt-muted)!important;
  font-size:13.5px!important;
  line-height:1.55!important;
}

/* 7. Redirecciones: sin fondos decorativos ni tarjetas redundantes */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app.rmtools-shell {
  padding:23px 25px 26px!important;
  background:#FFF!important;
  --rmrg-font:Roboto,Inter,system-ui,sans-serif;
  --rmrg-text:var(--rt-ink);
  --rmrg-muted:var(--rt-muted);
  --rmrg-border:var(--rt-line);
  --rmrg-border-strong:var(--rt-line-strong);
  --rmrg-shadow:none;
  --rmrg-radius:11px;
  --rmrg-radius-sm:9px;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app > .rmrg-hero {
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-hero::after {
  display:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-hero__howto {
  max-width:none!important;
  margin:0!important;
  padding:13px 16px!important;
  color:var(--rt-muted)!important;
  background:var(--rt-soft)!important;
  border:1px solid var(--rt-line)!important;
  border-radius:9px!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-hero__howto-title {
  font-size:13px!important;
  color:var(--rt-ink)!important;
  margin:0 0 5px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app .rmrg-layout {
  margin-top:16px!important;
  gap:16px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app :is(.rmrg-panel,.rmrg-validation__box,.rmrg-summary__card,.rmrg-issue-group) {
  border:1px solid var(--rt-line)!important;
  border-radius:11px!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app .rmrg-panel {
  background:#FFF!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app :is(.rmrg-panel--main,.rmrg-panel--side,.rmrg-panel--output) {
  padding:20px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app :is(.rmrg-summary__card,.rmrg-score) {
  background:var(--rt-soft)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app :is(.rmrg-panel--output,.rmrg-panel--stats,.rmrg-grid) {
  margin-left:0!important;
  margin-right:0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app .rmrg-score__value {
  background:var(--rt-indigo)!important;box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app .rmrg-issue-group {
  background:#FFF!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app .rmrg-code {
  background:var(--rt-ink)!important;
  border-radius:9px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app > .rmtools-cta {
  padding:18px 0 0!important;
}

/* 8. Contador de palabras: conservar pestañas y gráficas, bajar ruido visual */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app.rmtools-shell {
  --rmca-accent:var(--rt-indigo);
  --rmca-soft:var(--rt-soft);
  --rmca-radius:11px;
  --rmca-shadow:none;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app > .rmca-hero {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:0!important;
  grid-template-columns:none!important;
  padding:20px 28px 3px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:#FFF!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app .rmca-privacy {
  background:var(--rt-soft)!important;
  color:#40516C!important;
  border:1px solid var(--rt-line)!important;
  border-radius:9px!important;
  padding:11px 14px!important;
  font-size:13px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app .rmca-privacy-dot {
  background:var(--rt-indigo)!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app :is(.rmca-editor-card,.rmca-result-card,.rmca-results,.rmca-card) {
  box-shadow:none!important;
  border-color:var(--rt-line)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app .rmca-results {
  margin-left:26px!important;margin-right:26px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app :is(.rmca-empty-state,.rmca-results) {
  max-width:calc(100% - 52px)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app > .rmtools-cta {
  margin-top:22px!important;
  padding:18px 28px 21px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app .rmca-empty-icon {
  background:#EEF0F7!important;
  color:var(--rt-indigo)!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app :is(.rmca-metric-card,.rmca-metric-card.is-featured) {
  background:var(--rt-soft)!important;
  border:1px solid var(--rt-line)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}

/* 9. UTMs: generador y auditor comparten controles y resultados */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-utm-generator.rmtools-shell {
  --rm-utm-surface-soft:var(--rt-soft);
  --rm-utm-border:var(--rt-line);
  --rm-utm-shadow:none;
  padding:23px 27px 25px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-utm-generator :is(.rm-utm-hero,.rm-utm-kicker,.rm-utm-title,.rm-utm-subtitle) {
  margin-top:0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-utm-generator .rm-utm-hero {
  display:none!important; /* Hero nativo ya contiene la explicación */
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-utm-generator .rm-utm-tabs {
  margin-top:0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-utm-generator :is(.rm-utm-card,.rm-utm-form-card,.rm-utm-result-card,.rm-utm-audit-result) {
  box-shadow:none!important;
  border-color:var(--rt-line)!important;
  border-radius:11px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-utm-generator .rm-utm-form-card {
  background:transparent!important;
  border:0!important;
  padding:0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-utm-generator > .rmtools-cta {
  padding:18px 0 0!important;
}

/* 10. HTTP: herramienta primero, extensión después, servicios terciarios */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool .rmgt-http-intro {
  display:none!important; /* Encabezado duplicado */
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool .rmgt-http-form {
  padding:23px 28px 20px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool .rmgt-http-form textarea {
  min-height:150px;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool .rmgt-http-agent-context {
  border-left:2px solid var(--rt-line)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool .rmgt-http-inspector-promo {
  margin:10px 28px 22px!important;
  padding:15px 17px!important;
  background:var(--rt-soft)!important;
  border:1px solid var(--rt-line)!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool .rmgt-http-inspector-promo__button {
  color:#344477!important;
  -webkit-text-fill-color:#344477!important;
  background:#FFF!important;
  border:1px solid var(--rt-line-strong)!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool .rmgt-http-loading {
  padding:16px 28px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool > .rmtools-cta {
  margin:0!important;
  padding:18px 28px 20px!important;
}

/* 11. Standalone: SERP, Prompts SEO y GEO; aspecto común, vista previa intacta */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-standalone {
  padding:clamp(19px,2.5vw,30px)!important;
  background:#FFF!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-standalone :is(label,.rm-serp-hint) {
  color:#29364F!important;
  font-size:14px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-standalone .tabcontent {
  padding:18px 0 0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-standalone #rm-geo-prompts-result {
  border-color:var(--rt-line)!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-serp .rm-serp-preview {
  background:#FFF!important; /* Debe seguir representando la SERP */
  border:1px solid var(--rt-line)!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-prompts [id^=generatedText] {
  background:var(--rt-soft)!important;
  border:1px solid var(--rt-line)!important;
  box-shadow:none!important;
}

/* 12. Espacios pequeños y estados (sin alterar selectores de JS) */
@media(max-width:900px) {
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app .rmrg-layout {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(max-width:760px) {
  body.rm-pilots .rm-native-tool-page .rm-native-tool-hero {
    padding:26px 0 36px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-hero-copy > h1 {
    font-size:clamp(2rem,7.5vw,2.86rem)!important;
    line-height:1.13!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-lead {
    font-size:1rem!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-hero > .rm-native-tool-shell {
    gap:19px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell .rmtools-cta {
    flex-direction:column!important;
    align-items:stretch!important;
    gap:9px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmtools-shell .rmtools-cta a[data-rmtools-cta] {
    align-self:flex-start!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) :is(input,textarea,select) {
    font-size:16px!important; /* evita zoom inesperado en iOS */
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool > .rmsg-hero,
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool > .rmsg-app.rmtools-body,
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool .rmgt-http-form {
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-copy {
    margin-left:18px!important;margin-right:18px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app.rmtools-shell,
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-utm-generator.rmtools-shell,
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-standalone {
    padding-left:17px!important;padding-right:17px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app :is(.rmrg-panel--main,.rmrg-panel--side,.rmrg-panel--output) {
    padding:17px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool .rmgt-http-inspector-promo {
    margin-left:18px!important;margin-right:18px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool > .rmtools-cta {
    padding-left:18px!important;padding-right:18px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app .rmca-results {
    margin-left:17px!important;margin-right:17px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app :is(.rmca-empty-state,.rmca-results) {
    max-width:calc(100% - 34px)!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app :is(.rmca-hero,.rmca-editor-card) {
    padding-left:17px!important;padding-right:17px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app > .rmtools-cta,
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool > .rmtools-cta {
    padding-left:18px!important;padding-right:18px!important;
  }
}
@media(max-width:480px) {
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmsg-tool .rmsg-mode-grid,
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmrg-app .rmrg-summary {
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-http-form-actions {
    flex-direction:column!important;align-items:stretch!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-tool .rmgt-http-form-actions > button {
    width:100%!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(button,a) {
    transition:none!important;animation:none!important;
  }
}


/* 13. Firma de autor visible: discreta, clicable y dentro de las 11 herramientas. */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) > .rmtools-credit {
  display:block!important;
  box-sizing:border-box!important;
  text-align:right!important;
  padding:10px 28px 17px!important;
  margin:0!important;
  background:transparent!important;
  color:#667388!important;
  font:500 11.5px/1.5 Roboto,system-ui,sans-serif!important;
  letter-spacing:0!important;
  border:0!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) > .rmtools-credit a {
  display:inline!important;
  color:#526077!important;
  -webkit-text-fill-color:#526077!important;
  font:inherit!important;
  text-decoration:none!important;
  border-bottom:1px solid #B9C2D1!important;
  padding:0 0 2px!important;
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) > .rmtools-credit a:hover {
  color:#344477!important;
  -webkit-text-fill-color:#344477!important;
  border-bottom-color:#F73760!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) > .rmtools-credit a:focus-visible {
  outline:3px solid #4F578D!important;
  outline-offset:4px!important;
}
/* These plugin shells already have side padding; avoid a double inset. */
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmrg-app,.rm-utm-generator,.rmgt-tool:not(.rmgt-http-tool)) > .rmtools-credit {
  padding:11px 0 0!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmca-app > .rmtools-credit {
  padding:10px 28px 17px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rmgt-http-tool > .rmtools-credit {
  padding:7px 28px 18px!important;
}
body.rm-pilots .rm-native-tool-page .rm-native-tool-widget .rm-native-standalone > .rmtools-credit {
  margin:22px 0 0!important;
  padding:13px 0 0!important;
  border-top:1px solid #E0E5EE!important;
}
@media(max-width:760px) {
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmtools-shell,.rm-native-standalone) > .rmtools-credit {
    padding-right:18px!important;
    padding-left:18px!important;
  }
  body.rm-pilots .rm-native-tool-page .rm-native-tool-widget :is(.rmrg-app,.rm-utm-generator,.rmgt-tool:not(.rmgt-http-tool),.rm-native-standalone) > .rmtools-credit {
    padding-right:0!important;
    padding-left:0!important;
  }
}
