/* Delic Part 2 app switcher. Layout utilities not in the compiled Tailwind sheet. */
.delic-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #fbbf24, #ea580c);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
}
.delic-avatar-lg { width: 7rem; height: 7rem; font-size: 2rem; border: 4px solid #f59e0b; box-shadow: 0 0 30px rgba(251,158,11,0.5); }
img.delic-avatar { background: transparent; }
.delic-switcher-name {
  padding: 0.5rem 1rem 0.25rem;
  font-weight: 700;
  color: #fcd34d;
  word-break: break-word;
}
.delic-manage {
  display: block;
  padding: 0.5rem 1rem;
  color: #fcd34d;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.delic-manage:hover { text-decoration: underline; }
.delic-apps-grid {
  list-style: none;
  margin: 0.25rem 0 0.5rem;
  padding: 0.25rem 0.75rem 0.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.5rem;
}
.delic-app { margin: 0; padding: 0; min-width: 0; }
.delic-app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
  min-height: 44px;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.15);
  color: #fcd34d;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}
a.delic-app-tile:hover { border-color: #f59e0b; }
.delic-app.is-current .delic-app-tile {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px #f59e0b;
}
.delic-app-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.delic-app-name { font-size: 0.85rem; line-height: 1.2; }
.delic-app-tag { font-size: 0.7rem; font-weight: 500; color: #d1d5db; line-height: 1.2; }
.delic-apps-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  color: #fcd34d;
  font-weight: 700;
}
.delic-apps-toggle::-webkit-details-marker { display: none; }
details.desk-account .delic-switcher-name { padding-left: 0; padding-right: 0; }
details.desk-account .delic-manage { padding-left: 0; padding-right: 0; }
details.desk-account .delic-apps-grid { padding-left: 0; padding-right: 0; }
.desk-account > summary .delic-avatar { width: 28px; height: 28px; font-size: 0.65rem; }
.nav-apps-panel {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.5rem;
  background: #1e293b;
  border: 1px solid rgb(245 158 11 / 0.4);
  border-radius: 0.75rem;
  padding: 0.5rem;
  min-width: 16rem;
  max-width: calc(100vw - 2rem);
  z-index: 50;
}

.nav-account-avatar { width: 25px; height: 25px; font-size: 0.6rem; border: 1px solid #f59e0b; box-shadow: 0 0 40px rgba(251,158,11,0.6); }

.delic-initials { text-transform: uppercase; user-select: none; }
.desk-account-avatar { width: 28px; height: 28px; font-size: 0.65rem; }
