/* ===================== Shared floating pieces (design system iLovePaghe) ===================== */
/* Company switcher, shown only for accounts with more than one company. */
.companyDd{
  position: fixed;
  z-index: 1300;
  display: none;
  max-width: min(360px, calc(100vw - 24px));
  max-height: min(420px, calc(100vh - 32px));
  overflow: auto;
  padding: 6px;
  border-radius: var(--r-lg);
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: var(--shadow-pop);
}
.companyDd[data-open="1"]{ display: block; animation: uiPopIn .14s var(--ease-out); }
.companyDdItem{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--fs-14);
  cursor: pointer;
}
.companyDdItem:hover,
.companyDdItem[aria-selected="true"]{ background: var(--bg-hover); }
.companyDdCheck{ color: var(--brand); }
.companyDdCheck svg{ width: 16px; height: 16px; }
.companyDdEmpty{ padding: 12px; color: var(--text-2); font-size: var(--fs-13); }
.sideCompanyPanel[data-switchable="true"]::after{
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background: var(--text-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 9.5 4-4 4 4M8 14.5l4 4 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 9.5 4-4 4 4M8 14.5l4 4 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Soft page transition veil (navigation to the upload page) */
.ilpNavVeil{ background: var(--bg) !important; }
