.r365-stage-bar:has(.ram-account) {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 5px clamp(12px,3vw,54px);
}
.ram-date { grid-column: 2; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.ram-account, .ram-account .r365-session-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.ram-account { grid-column: 3; min-width: 0; font: 600 13px/1.3 "DM Sans",Arial,sans-serif; }
.ram-account :is(a,button) {
  display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 28px;
  border: 0; border-radius: 0; padding: 2px 0; background: none; box-shadow: none;
  color: #fff7e6; font: inherit; letter-spacing: 0; white-space: nowrap; text-decoration: none; cursor: pointer;
}
.ram-account :is(a,button):is(:hover,:focus-visible) { color: #f3d59b; text-decoration: underline; }
.ram-account .r365-session-identity { min-width: 0; gap: 5px; }
.ram-account .r365-session-label, .ram-account .r365-session-company, .ram-account .r365-verified-badge { display: none; }
.ram-account .r365-session-person { min-width: 0; display: block; }
.ram-account .r365-session-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 17ch; font: inherit; color: #efd39c; }

.ram-community {
  position: relative; z-index: 20; box-sizing: border-box;
  display: flex; align-items: center; gap: clamp(18px,3vw,48px);
  padding: 0 clamp(16px,3.8vw,66px); min-height: 64px;
  background: #e8f3f8; border-block: 1px solid #d5e4e9;
  color: #103341; font-family: "DM Sans",Arial,sans-serif;
}
main .ram-community { margin-block: 10px 18px; grid-column: 1 / -1; }
#home > .ram-community { margin-block-end: 0; }
@media (min-width: 761px) {
  .r365-signup-layout > .ram-community { grid-row: 2; }
}
.ram-community-title { white-space: nowrap; font-size: clamp(17px,1.55vw,24px); font-weight: 750; line-height: 1.15; padding-inline-end: clamp(16px,2.6vw,42px); border-right: 2px solid #c8a05b; }
.ram-community-menus { display: flex; align-items: center; gap: clamp(16px,3vw,48px); }
.ram-community-group { position: relative; }
.ram-community-group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px;
  list-style: none; cursor: pointer; font-size: clamp(15px,1.2vw,19px); line-height: 1.25; font-weight: 700;
}
.ram-community-group > summary::-webkit-details-marker { display: none; }
.ram-community-group > summary::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.ram-community-group[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.ram-community-group > summary:hover, .ram-community-group[open] > summary { color: #165779; }
.ram-community-panel { position: absolute; top: 100%; left: -12px; min-width: 238px; padding: 6px; border: 1px solid #cfb17d; border-radius: 8px; background: #f5fbff; box-shadow: 0 7px 20px #15344124; }
.ram-community-panel a { display: block; color: #143746; font: 600 15px/1.35 "DM Sans",Arial,sans-serif; padding: 10px 12px; border-radius: 4px; text-decoration: none; }
.ram-community-panel a:is(:hover,:focus-visible) { background: #dcecf4; color: #0c4665; }
.ram-community :focus-visible, .ram-account :focus-visible { outline: 2px solid #a1722a; outline-offset: 2px; }
.ram-sponsor-account { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-block: 12px; }
.ram-sponsor-account a { color: #184f66; font-weight: 700; text-decoration: underline; }
#attendeeSearch, #ec-roi-dashboard, #ec-wishlist-guarantee { scroll-margin-top: 110px; }
@media (max-width: 760px) {
  .r365-stage-bar:has(.ram-account) { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 10px; padding: 4px 12px; }
  .ram-account { font-size: 11px; gap: 9px; }
  .ram-account .r365-session-identity { display: none; }
  .ram-community { display: block; padding: 10px 12px 3px; }
  .ram-community-title { display: block; border: 0; padding: 0 0 3px; font-size: 15px; }
  .ram-community-menus { justify-content: space-between; gap: 8px; }
  .ram-community-group { position: static; }
  .ram-community-group > summary { gap: 5px; min-height: 42px; font-size: clamp(12px,3.05vw,16px); }
  .ram-community-group > summary::after { width: 5px; height: 5px; }
  .ram-community-panel { left: 0; right: 0; top: 100%; min-width: 0; }
}
@media (max-width: 480px) {
  .r365-stage-bar:has(.ram-account) { justify-content: center; }
  .ram-account .r365-session-actions { gap: 9px; }
}
