/* Shared across Workspace, Analytics, account and public product pages. */
:root {
  scrollbar-color: var(--muted, #788895) var(--surface, var(--bg, #101518));
}
@supports not (scrollbar-color: auto) {
  @media (forced-colors: none) {
    ::-webkit-scrollbar {
      width: 12px;
      height: 12px;
    }
    ::-webkit-scrollbar-track {
      background: var(--surface, var(--bg, #101518));
    }
    ::-webkit-scrollbar-thumb {
      background: var(--muted, #788895);
      border: 3px solid var(--surface, var(--bg, #101518));
      border-radius: 8px;
    }
  }
}
@media (forced-colors: active) {
  :root {
    scrollbar-color: auto;
  }
}

.product-menu {
  position: relative;
  flex: none;
}

.about-tmi {
  box-sizing: border-box;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin: auto;
  padding: 28px;
  border: 1px solid #36515d;
  border-radius: 20px;
  background: #10232e;
  color: #e5eef2;
  font:
    14px/1.5 system-ui,
    sans-serif;
}
.about-tmi::backdrop {
  background: #0008;
}
.about-tmi-hero {
  text-align: center;
  padding-top: 20px;
}
.about-tmi-badge {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border: 1px solid #42716f;
  border-radius: 30px;
  background: radial-gradient(circle at 40% 20%, #264e58, #122d3b 75%);
  box-shadow:
    0 8px 24px #040e1855,
    inset 0 1px 0 #79dbca22;
}
.about-tmi-badge img {
  display: block;
  width: 72px;
  height: 72px;
}
.about-tmi h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.about-tmi p {
  color: inherit;
  font-size: 14px;
  margin: 16px 0 8px;
}
.about-tmi .about-tmi-name {
  margin: 6px 0 0;
  color: #b6cbd3;
}
.about-tmi .about-tmi-version {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 0;
  padding: 6px 12px;
  background: #203f4a;
  border: 1px solid #355966;
  border-radius: 24px;
}
.about-tmi button {
  border: 1px solid #36515d;
  border-radius: 6px;
  padding: 7px 10px;
  background: #193442;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.about-tmi .about-tmi-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #b6cbd3;
}
.about-tmi .about-tmi-close:hover {
  background: #203f4a;
  color: #e5eef2;
}
.about-tmi button:focus-visible,
.about-tmi summary:focus-visible {
  outline: 2px solid #74e1d5;
  outline-offset: 3px;
}
.about-tmi details {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid #36515d;
}
.about-tmi summary {
  cursor: pointer;
  color: #b6cbd3;
  font-size: 13px;
}
.about-tmi .about-tmi-commit-label {
  margin-bottom: 0;
  color: #b6cbd3;
  font-size: 12px;
}
.about-tmi code {
  display: block;
  overflow-wrap: anywhere;
  margin: 4px 0 16px;
  font-size: 12px;
  user-select: text;
}
.about-tmi .about-tmi-status {
  margin: 8px 0 0;
  font-size: 12px;
}
.about-tmi-status:empty {
  display: none;
}
.product-menu-trigger {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  color: #dce9ed;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.product-menu-trigger img {
  display: block;
  width: 28px;
  height: 28px;
}
.product-menu-trigger:hover,
.product-menu-trigger[aria-expanded="true"] {
  background: #203744;
}
.product-menu-trigger:focus-visible {
  outline: 2px solid #6de5d7;
  outline-offset: -2px;
}
.product-menu-panel {
  position: fixed;
  z-index: 200;
  min-width: 172px;
  padding: 5px;
  border: 1px solid #385563;
  border-radius: 8px;
  background: #111f29;
  box-shadow: 0 14px 32px #02080ccc;
  color: #e5f1f3;
}
.product-menu-panel[hidden] {
  display: none;
}
.product-menu-panel [hidden] {
  display: none;
}
.product-menu-pending {
  display: block;
  min-height: 36px;
  padding: 9px 10px;
  color: #adcbd0;
  font:
    500 12px/1.5 system-ui,
    sans-serif;
}
.product-menu-panel:focus-visible {
  outline: none;
}
.product-menu-panel a,
.product-menu-panel button {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 10px;
  border-radius: 5px;
  color: inherit;
  text-decoration: none;
  font:
    600 13px/1.4 system-ui,
    sans-serif;
  background: transparent;
  border: 0;
  width: 100%;
  cursor: pointer;
  gap: 10px;
}
.product-menu-icon {
  flex: none;
  display: block;
  width: 18px;
  height: 18px;
  color: #9acbd0;
}
.product-menu-panel [role="menuitem"]:hover .product-menu-icon,
.product-menu-panel [role="menuitem"]:focus-visible .product-menu-icon {
  color: #74e1d5;
}
.product-menu-panel [aria-current="page"]::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-left: auto;
  background: #42d4c8;
}
.product-menu-panel [role="menuitem"]:hover,
.product-menu-panel [role="menuitem"]:focus-visible {
  background: #214252;
  color: #fff;
  outline: none;
}
.product-account-panel {
  z-index: 201;
  min-width: 168px;
}
.product-menu-panel [data-account-trigger] {
  gap: 9px;
  min-width: 210px;
  text-align: left;
}
.product-account-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #245466;
  color: #effafa;
  font-size: 15px;
  font-weight: 750;
}
.product-account-identity {
  display: grid;
  min-width: 0;
  flex: 1;
}
.product-account-name,
.product-account-handle {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.product-account-handle {
  color: #adcbd0;
  font-size: 11px;
  font-weight: 500;
}
.product-account-chevron {
  flex: none;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #91b4bc;
  border-right: 1.5px solid #91b4bc;
  transform: rotate(45deg);
}
.product-menu-divider {
  display: block;
  height: 1px;
  margin: 5px 3px;
  background: #36515d;
}
.product-account-error {
  display: block;
  padding: 7px 10px;
  color: #ffcfab;
  font-size: 12px;
  line-height: 1.35;
}
.product-account-error[hidden] {
  display: none;
}
