

:root { --rh-navy: #1A2E45; --rh-blue: #1181c8; --rh-blue-dk: #0f72b0; --rh-line: #d8dee6; }

#rh-ask-tab {
  position: fixed;
  z-index: 100000;
  right: 0;
  top: 42%;
  margin: 0;
  border: 0;
  border-radius: 10px 0 0 10px;
  background: var(--rh-navy);
  color: #fff;
  font: 600 13.5px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: .3px;
  padding: 16px 11px;
  cursor: pointer;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  box-shadow: 0 2px 12px rgba(26, 46, 69, .28);
  
  transition: background .15s ease, padding-right .15s ease, opacity .18s ease, transform .18s ease;
}

#rh-ask-tab:hover { background: #24405f; padding-right: 14px; }

#rh-ask-tab:focus-visible {
  outline: 3px solid var(--rh-blue);
  outline-offset: 2px;
}

#rh-ask-card {
  position: fixed;
  z-index: 100001;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 384px;
  max-width: calc(100vw - 32px);
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid var(--rh-line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(26, 46, 69, .26);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--rh-navy);
}

#rh-ask-card,
#rh-ask-card * {
  box-sizing: border-box;
  text-transform: none;
  text-align: left;
  letter-spacing: normal;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  text-shadow: none;
}

#rh-ask-card .rh-ask-head {
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid #eef1f4;
  padding: 16px 46px 13px 20px;
}

#rh-ask-card h2 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.2px;
  color: var(--rh-navy);
}

#rh-ask-card .rh-ask-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}

#rh-ask-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #64748b;
  font: 400 21px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
}

#rh-ask-close:hover { background: #f1f5f9; color: var(--rh-navy); }
#rh-ask-close:focus-visible { outline: 2px solid var(--rh-blue); outline-offset: 1px; }

#rh-ask-card .rh-ask-body { padding: 16px 20px 26px; }

#rh-ask-card .rh-ask-l {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}

#rh-ask-card .rh-ask-opt { font-weight: 400; color: #6b7c8f; }

#rh-ask-card select,
#rh-ask-card textarea,
#rh-ask-card input {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  margin: 0 0 14px;
  border: 1px solid #c3ccd8;
  border-radius: 9px;
  background: #fff;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

#rh-ask-card select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%235b6b7d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

#rh-ask-card textarea { min-height: 92px; resize: vertical; }

#rh-ask-card select:focus-visible,
#rh-ask-card textarea:focus-visible,
#rh-ask-card input:focus-visible {
  outline: 2px solid var(--rh-blue);
  outline-offset: 1px;
  border-color: var(--rh-blue);
}

#rh-ask-send {
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  width: 100%;
  min-height: 46px;
  cursor: pointer;
  border: 1px solid var(--rh-blue);
  border-radius: 10px;
  background: var(--rh-blue);
  color: #fff;
  position: sticky;
  bottom: 0;
  
  box-shadow: 0 6px 0 6px #fff;
}

#rh-ask-send,
#rh-ask-tab,
#rh-ask-close { text-align: center; }

#rh-ask-send:hover:not(:disabled) { background: var(--rh-blue-dk); border-color: var(--rh-blue-dk); }
#rh-ask-send:disabled { opacity: .6; cursor: default; }
#rh-ask-send:focus-visible { outline: 2px solid var(--rh-navy); outline-offset: 2px; }

#rh-ask-card .rh-ask-msg {
  margin-top: 10px;
  font-size: 13.5px;
  color: #3d5166;
  min-height: 1em;
}

#rh-ask-card .rh-ask-msg.err { color: #C0392B; font-weight: 600; }

#rh-ask-card .rh-ask-more {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef1f4;
  font-size: 13px;
  text-align: left;
}

#rh-ask-card .rh-ask-more a { color: #1181c8; text-decoration: none; font-weight: 600; }
#rh-ask-card .rh-ask-more a:hover { text-decoration: underline; }

#rh-ask-card .rh-ask-done {
  padding: 4px 0 2px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #14603c;
}

#rh-ask-card .rh-ask-done b { display: block; font-size: 16px; margin-bottom: 6px; color: var(--rh-navy); }

#rh-ask-scrim {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 25, 38, .45);
  border: 0;
  padding: 0;
  display: none;
}

#rh-ask-scrim[hidden],
#rh-ask-card[hidden],
#rh-ask-tab[hidden] { display: none !important; }

@media (max-width: 820px) {
  #rh-ask-tab {
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    writing-mode: horizontal-tb;
    transform: none;
    border-radius: 999px;
    padding: 13px 20px;
    min-height: 46px;
    font-size: 14.5px;
    box-shadow: 0 4px 16px rgba(26, 46, 69, .34);
  }
  #rh-ask-tab:hover { padding-right: 20px; }

  
  #rh-ask-tab.rh-yield {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }

  
  #rh-ask-tab {
    width: 48px;
    height: 48px;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #rh-ask-tab::before {
    content: "?";
    font: 700 22px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
          sans-serif;
  }

  #rh-ask-tab:hover { padding: 0; }

  #rh-ask-card {
    right: 0;
    left: 0;
    bottom: 0;
    top: auto;
    transform: none;
    width: auto;
    max-width: none;
    max-height: 86vh;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  #rh-ask-card .rh-ask-head { border-radius: 18px 18px 0 0; padding-top: 18px; }

  #rh-ask-scrim { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  #rh-ask-tab { transition: none; }
}

#myreq { margin-top: 30px; }

#myreq h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--rh-navy);
  margin: 0 0 12px;
  letter-spacing: -.2px;
}

#myreq .reqrow {
  background: #fff;
  border: 1px solid #dde4e9;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

#myreq .reqtext { font-size: 15px; line-height: 1.5; color: var(--rh-navy); }

#myreq .reqmeta {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #6b7c8f;
}

#myreq .reqans {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef1f4;
  font-size: 14px;
  line-height: 1.55;
  color: #1e6b45;
}

.rh-ask-open-link {
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  color: #9fd0ef;
  text-decoration: underline;
  cursor: pointer;
}
