/* RMS header icon buttons (settings gear, bug report) — shared across Pitch Revenue pages */

/* Flat dark banner — no diagonal red stripe (standard-brand-banner ::after). */
header,
#hdr,
.app-header {
  background: #202020 !important;
  overflow: visible;
}

header::after,
#hdr::after,
.app-header::after {
  display: none !important;
  content: none !important;
}

/* Logo — icon scale on dark banner (matches hdr-btn--icon ~34px tile; wins over jrco-brand.css). */
header .logo-home,
.app-header .logo-home {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}
header .logo-img,
.app-header .logo-img,
header.topbar .logo-img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  background: transparent !important;
  padding: 0 !important;
}

header .hdr-user-avatar,
.app-header .hdr-user-avatar {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid rgba(230, 230, 230, 0.24);
  overflow: hidden;
  text-decoration: none;
  box-sizing: border-box;
}
header .hdr-user-avatar img,
.app-header .hdr-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
header .hdr-user-ini,
.app-header .hdr-user-ini {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #e6e6e6;
  line-height: 1;
}

header .hdr-btn--icon,
.app-header .hdr-btn--icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0 !important;
  box-sizing: border-box;
  border-radius: 7px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
header .hdr-btn--icon svg,
.app-header .hdr-btn--icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

/* Programmatic refresh target (#refresh-btn) — never a visible header tile */
header .header-right #refresh-btn,
.app-header .header-right #refresh-btn {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

header .hdr-btn--current,
.app-header .hdr-btn--current,
.cm-page-header .hdr-btn--current {
  border-color: rgba(233, 42, 44, 0.55) !important;
  color: #fff !important;
  cursor: default;
  pointer-events: none;
}

/* Custom mobile headers (relationship-resolve) */
.app-header .hdr-btn--icon {
  border: 1px solid rgba(230, 230, 230, 0.24);
  color: #e6e6e6;
  background: transparent;
  cursor: pointer;
}
.app-header .hdr-btn--icon:hover {
  border-color: #e92a2c;
  color: #fff;
}
