.rmd-note[data-answer='ok'] .rmd-if-change,
  .rmd-note[data-answer='change'] .rmd-if-ok {
    display: none;
  }.rmd-chat {
    width: 100%;
    max-width: 330px;
    overflow: hidden;
    background: #efeae2;
    color: #111b21;
    font-size: 13.5px;
    line-height: 1.35;
    text-align: left;
    border-radius: 18px;
  }
  .rmd-frame {
    border: 9px solid #0b0f0e;
    border-radius: 40px;
    box-shadow: 0 30px 60px -30px rgb(13 23 20 / 0.45);
  }
  @media (prefers-color-scheme: dark) {
    .rmd-frame {
      outline: 1px solid rgb(255 255 255 / 0.08);
    }
  }
  .rmd-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 9px;
    background: #f0f2f5;
    border-bottom: 1px solid rgb(0 0 0 / 0.06);
  }
  .rmd-frame .rmd-head {
    padding-top: 26px;
  }
  .rmd-back {
    font-size: 22px;
    line-height: 1;
    color: #027eb5;
  }
  .rmd-avatar {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
  }
  [data-sender='enrutar'] .rmd-avatar {
    background: #27d898;
    color: #030712;
  }
  [data-sender='own'] .rmd-avatar {
    background: #1d4ed8;
    color: #fff;
  }
  [data-sender='enrutar'] .rmd-who-own,
  [data-sender='own'] .rmd-who-enrutar {
    display: none;
  }
  .rmd-name {
    display: block;
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .rmd-head small {
    display: block;
    font-size: 11px;
    color: #667781;
  }
  .rmd-wall {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 330px;
    padding: 12px 12px 18px;
  }
  .rmd-day {
    align-self: center;
    margin: 4px 0;
    padding: 3px 10px;
    border-radius: 8px;
    background: #fff;
    font-size: 11.5px;
    font-weight: 500;
    color: #54656f;
    box-shadow: 0 1px 0.5px rgb(11 20 26 / 0.13);
  }
  .rmd-in,
  .rmd-out {
    position: relative;
    max-width: 88%;
    padding: 7px 9px 18px;
    border-radius: 10px;
    box-shadow: 0 1px 0.5px rgb(11 20 26 / 0.13);
  }
  .rmd-in {
    align-self: flex-start;
    background: #fff;
    border-top-left-radius: 3px;
  }
  .rmd-out {
    align-self: flex-end;
    background: #d9fdd3;
    border-top-right-radius: 3px;
    padding-right: 64px;
    padding-bottom: 7px;
  }
  .rmd-reminder {
    max-width: 94%;
  }
  .rmd-time {
    position: absolute;
    right: 8px;
    bottom: 4px;
    font-size: 10.5px;
    color: #667781;
    white-space: nowrap;
  }
  .rmd-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 94%;
    margin-top: -2px;
  }
  .rmd-btn {
    display: block;
    padding: 8px 4px;
    border-radius: 10px;
    background: #fff;
    color: #027eb5;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 1px 0.5px rgb(11 20 26 / 0.13);
  }
  .rmd-chat[data-stage='ok'] .rmd-btn:last-child,
  .rmd-chat[data-stage='change'] .rmd-btn:first-child {
    opacity: 0.45;
  }
  .rmd-chat[data-pre] .rmd-reminder-day,
  .rmd-chat[data-pre] .rmd-reminder,
  .rmd-chat[data-pre] .rmd-buttons,
  .rmd-chat[data-stage='sent'] .rmd-ok,
  .rmd-chat[data-stage='sent'] .rmd-change,
  .rmd-chat[data-stage='ok'] .rmd-change,
  .rmd-chat[data-stage='change'] .rmd-ok {
    display: none;
  }
  .rmd-chat:not([data-stage='sent']) .rmd-out {
    animation: rmd-pop 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .rmd-chat:not([data-stage='sent']) .rmd-out + .rmd-in {
    animation: rmd-pop 260ms 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  @keyframes rmd-pop {
    from {
      opacity: 0;
      transform: translateY(6px) scale(0.98);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .rmd-chat * {
      animation: none !important;
    }
  }
  /* Margin-tag highlight (proposal A). */
  .rmd-chat [data-sec] {
    border-radius: 4px;
    transition:
      background-color 200ms,
      box-shadow 200ms;
  }
  .rmd-chat [data-sec].lit {
    background: #c9f5e2;
    box-shadow: 0 0 0 3px #c9f5e2;
  }
  .rmd-chat .rmd-btn.lit {
    background: #c9f5e2;
    box-shadow: 0 0 0 2px #27d898;
  }.rmd-switch {
    position: relative;
    display: inline-flex;
    width: 36px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid transparent;
    background: #d1d5db;
    transition: background-color 200ms;
  }
  .rmd-switch > span[aria-hidden] {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.2);
    transition: transform 200ms;
  }
  .rmd-switch[data-on='true'] {
    background: #27d898;
  }
  .rmd-switch[data-on='true'] > span[aria-hidden] {
    transform: translateX(16px);
  }
  @media (prefers-color-scheme: dark) {
    .rmd-switch {
      background: #475569;
    }
  }@media (width >= 1024px) {
  .rma-tag[data-astro-cid-x7n2afgf]:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    width: var(--reach, 40px);
    height: 1px;
    background: repeating-linear-gradient(90deg, #8a9692 0 3px, #0000 3px 6px);
    pointer-events: none;
  }

  .rma-tag[data-astro-cid-x7n2afgf][aria-pressed="true"]:after {
    background: #09c084;
  }
}

.rma-tag[data-astro-cid-x7n2afgf][aria-pressed="true"] .rma-tag-icon[data-astro-cid-x7n2afgf] {
  background: #27d898;
  color: #030712;
}
