/* Suite app launcher. Scoped under .suite-launcher so it can drop into any
   product's header without colliding with that app's styles. */

.suite-launcher {
  position: relative;
  display: inline-flex;
}

.suite-launcher__button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background 120ms ease, border-color 120ms ease;
}

.suite-launcher__button:hover,
.suite-launcher--open .suite-launcher__button {
  background: rgb(16 24 40 / 6%);
}

.suite-launcher__button:focus-visible {
  outline: 2px solid #2f5fe0;
  outline-offset: 2px;
}

.suite-launcher__dots {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
}

.suite-launcher__dots i {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 1px;
  opacity: 0.75;
}

.suite-launcher__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1000;
  width: 300px;
  padding: 14px;
  color: #16191f;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgb(16 24 40 / 16%);
  animation: suite-launcher-in 120ms ease;
}

@keyframes suite-launcher-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.suite-launcher__head {
  padding: 0 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.suite-launcher__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.suite-launcher__tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 12px 6px;
  color: #16191f;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background 120ms ease;
}

.suite-launcher__tile:hover {
  background: #f8fafc;
}

.suite-launcher__tile--active {
  background: #eef2ff;
  border-color: #c9d5fb;
}

.suite-launcher__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 19px;
  color: #fff;
  border-radius: 11px;
}

.suite-launcher__name {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.3;
}

.suite-launcher__home {
  display: block;
  padding: 10px 4px 2px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 550;
  color: #2f5fe0;
  text-align: center;
  text-decoration: none;
  border-top: 1px solid #e4e7ec;
}

.suite-launcher__home:hover {
  text-decoration: underline;
}

.suite-launcher__error {
  margin: 0;
  font-size: 13px;
  color: #b42318;
}

@media (max-width: 420px) {
  .suite-launcher__panel {
    width: min(280px, calc(100vw - 32px));
  }
}

/* Panel altındaki hesap satırı — sadece ürün `account` geçerse görünür. */

.suite-launcher__account {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid #e4e7ec;
}

.suite-launcher__account-label {
  overflow: hidden;
  font-size: 12.5px;
  color: #667085;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suite-launcher__signout {
  flex-shrink: 0;
  padding: 6px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 550;
  color: #b42318;
  cursor: pointer;
  background: transparent;
  border: 1px solid #f3c7c2;
  border-radius: 8px;
}

.suite-launcher__signout:hover:not(:disabled) {
  background: #fdecea;
}

.suite-launcher__signout:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
