#attachActionsModal.attach-actions-sheet-modal {
  background: var(--layer-sheet-overlay);
}

#attachActionsModal.attach-actions-sheet-modal .attach-actions-sheet-card {
  padding: 0 0 calc(28px + env(safe-area-inset-bottom, 0px));
}

#attachActionsModal.attach-actions-sheet-modal.active .attach-actions-sheet-card {
  transform: translateY(0);
}

#attachActionsModal.attach-actions-sheet-modal .profile-card-header {
  display: none;
}

#attachActionsModal.attach-actions-sheet-modal .profile-close {
  display: none !important;
}

.attach-actions-sheet-handle {
  margin: 12px auto 16px;
}

.attach-actions-sheet-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

#attachActionsModal.attach-actions-sheet-modal .attach-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px;
}

#attachActionsModal.attach-actions-sheet-modal .attach-action-button {
  min-height: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 14px;
  box-shadow: none;
  cursor: pointer;
}

#attachActionsModal.attach-actions-sheet-modal .attach-action-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#attachActionsModal.attach-actions-sheet-modal .attach-action-icon-wrap.is-gallery {
  background: #dbeafe;
}

#attachActionsModal.attach-actions-sheet-modal .attach-action-icon-wrap.is-file,
#attachActionsModal.attach-actions-sheet-modal .attach-action-icon-wrap.is-checklist {
  background: #f0faf6;
}

#attachActionsModal.attach-actions-sheet-modal .attach-action-icon-wrap.is-contact,
#attachActionsModal.attach-actions-sheet-modal .attach-action-icon-wrap.is-poll {
  background: #f5f0fe;
}

#attachActionsModal.attach-actions-sheet-modal .attach-action-icon-wrap.is-location {
  background: #fef3f0;
}

#attachActionsModal.attach-actions-sheet-modal .attach-action-button > span:last-child {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--color-text-primary);
  text-align: center;
}

.attach-actions-divider,
.attach-actions-cancel-button {
  display: none !important;
}
