/* "Preview as" banner and the role-preview menu: the S1 ink bar across the top while a coordinator previews another account. */
.rwt-view-as-banner {
  position: fixed; z-index: 10020; top: 0; left: 0; right: 0; min-height: 56px;
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 8px max(18px, calc((100vw - 1536px) / 2));
  color: var(--s1-on-ink); background: var(--s1-ink); box-shadow: 0 12px 32px rgb(17 19 24 / .22);
  font-family: var(--s1-font-ui);
}
.rwt-view-as-banner > span:nth-child(2) { min-width: 0; }
.rwt-view-as-banner strong, .rwt-view-as-banner small { display: block; color: inherit; }
.rwt-view-as-banner strong { font-size: 14.5px; line-height: 1.25; }
.rwt-view-as-banner small { margin-top: 2px; font-size: 12px; line-height: 1.3; opacity: .82; }
.rwt-view-as-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .12); }
.rwt-view-as-icon svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; }
.rwt-view-as-banner button { min-height: 36px; padding: 0 14px; border: 1px solid rgb(255 255 255 / .42); border-radius: var(--s1-radius-control); color: inherit; background: transparent; font: 600 13px var(--s1-font-ui); cursor: pointer; }
.rwt-view-as-banner button:hover { background: rgb(255 255 255 / .1); }
.rwt-view-as-banner button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rwt-view-as-banner button:disabled { opacity: .62; cursor: wait; }
.rwt-view-as-active body { padding-top: var(--rwt-preview-height, 56px); }
.rwt-view-as-active .skip-link { top: calc(var(--rwt-preview-height, 56px) + 8px); }
@media (max-width: 640px) {
  .rwt-view-as-banner { grid-template-columns: 30px minmax(0, 1fr); min-height: 88px; padding: 9px 14px; }
  .rwt-view-as-banner button { grid-column: 2; justify-self: start; min-height: 32px; }
}
.role-preview-control .sr-only[role=status] { position: absolute; }
