

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

#rh-share-btn {
  position: fixed;
  z-index: 99999;
  top: 12px;
  right: 12px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: var(--rh-navy);
  color: #fff;
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  padding: 9px 15px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26, 46, 69, .35);
  opacity: .92;
  transition: opacity .15s ease, background .15s ease;
}

#rh-share-btn:hover { opacity: 1; background: #24405f; }

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

#rh-share-card {
  z-index: 100000; 
}

#rh-share-card,
#rh-share-card * {
  box-sizing: border-box;
  text-transform: none;
  text-align: left;
  letter-spacing: normal;
  text-shadow: none;
  line-height: 1.45;
}

#rh-share-card .rh-sh-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 4px;
}

#rh-share-card h2 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--rh-navy);
  margin: 0;
}

#rh-share-card .rh-sh-x {
  border: 0;
  background: none;
  color: #7b8898;
  font-size: 22px;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
  border-radius: 6px;
}

#rh-share-card .rh-sh-x:hover { color: var(--rh-navy); background: #eef1f4; }

#rh-share-card .rh-sh-note {
  font-size: 12.5px;
  color: #545454;
  margin: 0 0 14px;
}

#rh-share-card .rh-sh-main { margin: 0 0 4px; }

#rh-share-card .rh-sh-mainacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

#rh-share-card .rh-sh-mainacts .rh-sh-go,
#rh-share-card .rh-sh-mainacts .rh-sh-go2 {
  flex: 1 1 46%;
  min-height: 44px;
  font-size: 15px;
}

#rh-share-card .rh-sh-mainacts .rh-sh-copy {
  flex: 1 1 100%;
  min-height: 40px;
  font-size: 13.5px;
}

#rh-share-card .rh-sh-go2 {
  width: 100%;
  border: 1px solid var(--rh-blue);
  border-radius: 10px;
  background: #fff;
  color: var(--rh-blue);
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 14px;
  cursor: pointer;
}

#rh-share-card .rh-sh-go2:hover { background: #f2f8fc; }
#rh-share-card .rh-sh-go2[disabled] { border-color: #cfdae4; color: #a9c2d8; cursor: default; }

#rh-share-card .rh-sh-count {
  font-size: 12.5px;
  color: #545454;
  margin: 0 0 2px;
}

#rh-share-card .rh-sh-more { border-top: 1px solid var(--rh-line); }
#rh-share-card .rh-sh-more[hidden] { display: none; }

#rh-share-card .rh-sh-morebtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  background: none;
  padding: 13px 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rh-navy);
  cursor: pointer;
  text-align: left;
}

#rh-share-card .rh-sh-morebtn:hover { color: var(--rh-blue); }
#rh-share-card .rh-sh-cap { color: #55606d; font-size: 15px; line-height: 1; }
#rh-share-card .rh-sh-morebody { padding: 0 0 14px; }
#rh-share-card .rh-sh-morebody[hidden] { display: none; }

#rh-share-card .rh-sh-hint {
  font-size: 12.5px;
  color: #545454;
  margin: 0 0 10px;
}

#rh-share-card input[type="text"] {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--rh-line);
  border-radius: 9px;
  font-size: 14px;
  color: #1a2e45;
  margin-bottom: 7px;
  background: #fff;
}

#rh-share-card input[type="text"]:focus {
  outline: none;
  border-color: var(--rh-blue);
  box-shadow: 0 0 0 3px rgba(17, 129, 200, .16);
}

#rh-share-card .rh-sh-addrow {
  border: 0;
  background: none;
  color: var(--rh-blue);
  font-size: 13px;
  font-weight: 600;
  padding: 2px 0 10px;
  cursor: pointer;
}

#rh-share-card .rh-sh-addrow[disabled] { color: #a9b4c0; cursor: default; }

#rh-share-card .rh-sh-go {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--rh-blue);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 14px;
  cursor: pointer;
}

#rh-share-card .rh-sh-go:hover { background: var(--rh-blue-dk); }
#rh-share-card .rh-sh-go[disabled] { background: #a9c2d8; cursor: default; }

#rh-share-card .rh-sh-err {
  font-size: 13px;
  color: #C0392B;
  margin: 10px 0 0;
}

#rh-share-card .rh-sh-sec {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #7b8898;
  margin: 16px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--rh-line);
}

#rh-share-card .rh-sh-row {
  border: 1px solid var(--rh-line);
  border-radius: 10px;
  padding: 10px 11px;
  margin-bottom: 8px;
  background: #fbfcfd;
}

#rh-share-card .rh-sh-row.rh-sh-new { border-color: #1E7B34; background: #f2faf4; }

#rh-share-card .rh-sh-who {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rh-navy);
  margin-bottom: 3px;
}

#rh-share-card .rh-sh-url {
  font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #2b475c;
  word-break: break-all;
  margin-bottom: 7px;
}

#rh-share-card .rh-sh-meta {
  font-size: 12px;
  color: #7b8898;
}

#rh-share-card .rh-sh-acts { display: flex; gap: 7px; margin-top: 7px; }

#rh-share-card .rh-sh-copy,
#rh-share-card .rh-sh-rev {
  border: 1px solid var(--rh-line);
  background: #fff;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  cursor: pointer;
  color: var(--rh-navy);
}

#rh-share-card .rh-sh-copy:hover { border-color: var(--rh-blue); color: var(--rh-blue); }
#rh-share-card .rh-sh-rev:hover { border-color: #C0392B; color: #C0392B; }
#rh-share-card .rh-sh-copy[data-done="1"] { border-color: #1E7B34; color: #1E7B34; }

#rh-share-card .rh-sh-empty { font-size: 13px; color: #7b8898; margin: 0; }

@media (max-width: 820px) {
  #rh-share-card {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    max-height: 86vh;
    border-radius: 16px 16px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

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

#rh-share-card .rh-sh-sections { display: flex; flex-wrap: wrap; gap: 6px; }

#rh-share-card .rh-sh-secbtn {
  border: 1px solid var(--rh-line);
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  cursor: pointer;
  color: var(--rh-navy);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#rh-share-card .rh-sh-secbtn:hover { border-color: var(--rh-blue); color: var(--rh-blue); }
#rh-share-card .rh-sh-secbtn[data-done="1"] { border-color: #1E7B34; color: #1E7B34; }

#rh-share-card .rh-sh-hintline { font-size: 12px; color: #7b8898; margin: 8px 0 0; }

#rh-share-card .rh-sh-url {
  font-size: 12.5px;
  color: var(--rh-navy);
  background: #f4f7fa;
  border: 1px solid var(--rh-line);
  border-radius: 8px;
  padding: 9px 11px;
  margin: 0 0 10px;
  word-break: break-all;
}

#rh-share-card .rh-sh-acts-lite { margin-top: 0; flex-wrap: wrap; }

#rh-share-cta {
  box-sizing: border-box;
  max-width: min(620px, calc(100% - 28px));
  margin: 34px auto 6px;
  background: var(--rh-navy);
  color: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

#rh-share-cta .rh-shc-h { font-size: 17px; font-weight: 700; margin: 0 0 6px; }

#rh-share-cta .rh-shc-p { font-size: 13.5px; line-height: 1.55; opacity: .9; margin: 0 0 14px; }

#rh-share-cta .rh-shc-btn {
  border: 0;
  background: var(--rh-blue);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 9px;
  cursor: pointer;
}

#rh-share-cta .rh-shc-btn:hover { background: var(--rh-blue-dk); }
