.active-users {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.presence-avatar {
  border: 2px solid #6d8b7b;
}
.presence-avatar.presence-editing {
  border-color: #e5b260;
  box-shadow: 0 0 0 2px #e5b26033;
}
.user-name-button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  padding: 4px;
  font: inherit;
  font-size: 12px;
}
.user-name-button:hover {
  text-decoration: underline;
}
.participants > #addUser {
  margin-top: 14px;
  height: 32px;
  font-size: 12px;
}
.meal-incomplete {
  position: absolute;
  left: 10px;
  top: 9px;
  z-index: 4;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #bc3e4b;
  border: 1px solid #ffb5bc;
  color: white;
  font-size: 13px;
  font-weight: 800;
  cursor: help;
}
.participant-option input {
  flex: none;
}
.participant-option .user-name-button {
  min-width: 0;
  overflow-wrap: anywhere;
}

#deleteMealProposal {
  margin-right: auto;
}
.warning-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #c52e43;
  border: 1px solid #ff9eac;
  color: #fff;
  cursor: help;
  padding: 0;
  line-height: 1;
}
.warning-icon > svg {
  width: 18px;
  height: 18px;
  display: block;
  overflow: visible;
}
.warning-icon svg path {
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}
.warning-icon svg circle {
  fill: #fff;
  stroke: none;
}
.warning-icon.meal-incomplete {
  position: absolute;
  left: 10px;
  top: 9px;
  z-index: 7;
}
.warning-icon .warning-tooltip {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 7px);
  width: 220px;
  max-width: 70vw;
  padding: 9px 11px;
  box-sizing: border-box;
  background: #111a28;
  color: #f4f7fc;
  border: 1px solid #586b84;
  border-radius: 8px;
  box-shadow: 0 6px 18px #0008;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  z-index: 200;
  pointer-events: none;
}
.warning-icon:hover > .warning-tooltip,
.warning-icon:focus > .warning-tooltip {
  display: block;
  transition: none;
  animation: none;
}
.summary-person-label {
  display: flex !important;
  align-items: center;
  gap: 7px;
}
.summary-person-label .warning-icon {
  margin-left: auto;
}
.summary-person-label .warning-tooltip {
  left: auto;
  right: 0;
  width: 280px;
}
.meal-dialog-actions {
  align-items: center;
  flex-wrap: wrap;
}

#userAvatarPreview {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #597665;
}

.category-cost-rule {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
}
.category-cost-description {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
  color: #b9dac9;
  padding: 5px 10px;
  background: #182a24;
  border: 1px solid #385345;
  border-radius: 7px;
}
.category-cost-rule select {
  font-size: 11px;
  height: 31px;
  max-width: 260px;
  padding: 0 8px;
}
.category-cost-rule select:disabled {
  opacity: 0.65;
}
.admin-table .adm-sharing {
  font-size: 10px;
  height: 26px;
  margin-top: 5px;
  color: #aebfd5;
}
.product-sharing label {
  display: flex !important;
  align-items: center;
  gap: 6px !important;
}
#productForm {
  grid-template-columns: minmax(160px, 1fr) 120px 90px 110px 210px 110px;
}
#productForm .product-sharing {
  grid-column: auto;
}
.product-sharing .recipe-help > span {
  left: auto;
  right: 0;
  text-transform: none;
  letter-spacing: 0;
}
.product-sharing .recipe-help {
  font-weight: 500;
  flex: none;
}
.summary-amount.featured small {
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1050px) {
  #productForm {
    grid-template-columns: 1fr 1fr 1fr minmax(210px, 1.5fr) auto;
  }
  #productForm .product-name {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  #productForm {
    grid-template-columns: 1fr 1fr;
  }
  #productForm .product-name,
  #productForm .add {
    grid-column: 1 / -1;
  }
  #productForm .product-sharing {
    grid-column: auto;
  }
  .category-cost-rule {
    justify-content: flex-start;
  }
  .category-cost-description {
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  #productForm .product-sharing {
    grid-column: 1 / -1;
  }
}

#productForm label[for="newAmount"] {
  white-space: nowrap;
}
