/* BAK-656 — Admin Suggest to… sheet */

body.suggest-to-open {
  overflow: hidden;
}

.suggest-to-sheet[hidden] {
  display: none !important;
}

.suggest-to-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.suggest-to-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
}

.suggest-to-panel {
  position: relative;
  width: min(100%, 32rem);
  max-height: min(92vh, 720px);
  overflow: auto;
  border-radius: 1rem 1rem 0 0;
  background: var(--panel, #111);
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
}

.suggest-to-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.suggest-to-poster-wrap {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  margin: 0.75rem 0;
  align-items: start;
}

/* The shared slot rule sets height:100% + aspect-ratio 2/3. That stretches
   this sheet's poster to the panel height and pushes recipients off screen. */
.suggest-to-poster-slot,
.suggest-to-poster-slot.image-artwork-slot {
  display: block;
  width: 4.5rem;
  height: 6.75rem;
  aspect-ratio: auto;
  min-height: 0;
  align-self: start;
}

.suggest-to-poster,
.suggest-to-poster-slot > img,
.suggest-to-poster-slot > .image-missing-placeholder {
  width: 4.5rem;
  height: 6.75rem;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

.suggest-to-note textarea {
  width: 100%;
  min-height: 4.5rem;
}

.suggest-to-counter {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: var(--muted);
}

.suggest-to-footer {
  display: grid;
  gap: 0.65rem;
}

.suggest-to-confirm {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.12);
  color: var(--text, #f8fafc);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.suggest-to-confirm[hidden] {
  display: none !important;
}

.suggest-to-footer .primary {
  width: 100%;
  min-height: var(--ms-tap, 44px);
}

.suggest-to-recipients .maintenance-owner-chip {
  min-height: 44px;
  padding: 4px 14px 4px 6px;
}

.suggest-to-recipients .maintenance-owner-avatar {
  width: 28px;
  height: 28px;
}

.suggest-push-hint {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

.suggest-admin-list {
  display: grid;
  gap: 0.75rem;
}

.suggest-admin-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.suggest-admin-poster {
  width: 3rem;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 0.35rem;
}

.suggest-status-chip {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

.explore-tile-menu .explore-tile-suggest {
  min-height: var(--ms-tap, 44px);
}
